enqueueDocumentsWithMetadata

Queues an array of documents for indexing together with passed free-form metadata. Metadata can be retrieved after indexing with getMetadataForUID method call.

NOTE: This call requires all documents to be opened when indexing and will most likely lead to out of memory conditions if a lot of documents are passed. Prefer to use enqueueDocumentSources if possible!

Any documents already queued or fully indexed will be ignored.

Parameters

documents

List of documents to index with metadata to be stored.


Queues an array of documents for indexing together with passed free-form metadata. Metadata can be retrieved after indexing with getMetadataForUID method call.

Any documents already queued or fully indexed will be ignored.

Parameters

documents

List of documents to index with metadata to be stored.

indexingOptions

Options for indexing the given documents.