6

can we upload files(text, pdf etc.) on AWS Cloud Search using API? I read its documentation but I didn't get any reference on

http://docs.amazonwebservices.com/cloudsearch/latest/developerguide/SvcIntro.html?r=130.

Or do I have to create SDF which contains extracted text from documents.

Nesim Razon
  • 9,684
  • 3
  • 36
  • 48
shreyas
  • 1,360
  • 11
  • 11

2 Answers2

2

It is not possible to send files directly via API. It is only AWS Management Console which converts files (.txt, .pdf, .csv etc) to SDF (Search Data Format) during upload. Here is the official reference http://docs.amazonwebservices.com/cloudsearch/latest/developerguide/senddata.html

But you can covert your files to SDF using command line tool and then submit for indexing.

Wasif
  • 522
  • 2
  • 6
  • I found this a bit confusing. You can upload SDF formatted data to cloud search using the API (Very bottom here: http://docs.aws.amazon.com/cloudsearch/latest/developerguide/senddata.html) – Nicholas Oct 15 '13 at 13:21
  • 1
    Yes, you can upload SDF documents to cloud search but not the raw .txt, .pdf etc files. – Wasif Oct 22 '13 at 16:49
0

We cannot directly upload files on aws cloud search using api. You just need to upload the data t your domain from the domain dashboard and it will be automatically converted to SDF format during upload process by the amazon cloudsearch conolse.

heretolearn
  • 6,387
  • 4
  • 30
  • 53