enqueue Document Sources With Metadata
open fun enqueueDocumentSourcesWithMetadata(@NonNull documentSources: List<Pair<DocumentSource, Array<Byte>>>)
Queues an array of documents for indexing together with passed free-form metadata. This call will avoid opening documents until they're indexed and it's thus significantly more memory friendly than enqueueDocumentsWithMetadata.
Metadata can be retrieved after indexing with getMetadataForUID method call.
Any documents already queued or fully indexed will be ignored.
Parameters
document Sources
List of document sources to index.