1 Answer
- Newest
- Most votes
- Most comments
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
Relevant content
- asked a year ago
- asked 3 years ago
- Accepted Answerasked a month ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 10 months ago
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