Adding documents directly to an index
You can add documents directly to an index using the BatchPutDocument operation. You can't add documents directly using the console. When you are using the console, you use a data source to add documents.
You can add only the following types of documents with the
BatchPutDocuments
operation.
-
Plain text
-
HTML
-
PDF
-
Microsoft PowerPoint
-
Microsoft Word
Documents can be added from an Amazon S3 bucket or supplied as binary data. The following examples show how to add documents directly to an index.