Uploading documents to amazon cloud search?

Can I upload files (text, pdf, etc.) to AWS Cloud Search using the API? I read its documentation, but I did not get any links to

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

Or I need to create an SDF that contains the extracted text from documents.

+6
source share
2 answers

It is not possible to send files directly through the API. Only the AWS Management Console converts files (.txt, .pdf, .csv, etc.) to SDF (search data format) at boot time. Here is the official link http://docs.amazonwebservices.com/cloudsearch/latest/developerguide/senddata.html

But you can hide your files in SDF using the command line tool and then send for indexing.

+2
source

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

0
source

Source: https://habr.com/ru/post/918769/


All Articles