1 Risposta
- Più recenti
- Maggior numero di voti
- Maggior numero di commenti
0
Hello there, yes it doesn't show pdf option in console but you can index a pdf using the cs-import-documents command or using AWS CLI (1). It gets converted to a JSON on upload and you can then perform a search.
(1) https://docs.aws.amazon.com/cloudsearch/latest/developerguide/uploading-data.html#uploading-data-clt
Contenuto pertinente
- AWS UFFICIALEAggiornata un anno fa
- AWS UFFICIALEAggiornata un anno fa
Example for json given: aws cloudsearchdomain --endpoint-url http://doc-movies-y6gelr4lv3jeu4rvoelunxsl2e.us-east-1.cloudsearch.amazonaws.com upload-documents --content-type application/json --documents movie-data-2013.json
For PDF, should I use like this (content type as json and documents given as pdf)? aws cloudsearchdomain --endpoint-url http://doc-central-htxeq46zxrngf3emkxwmpfncuy.us-east-1.cloudsearch.amazonaws.com upload-documents --content-type application/json --documents data-hourly.pdf