enqueueDocumentSources

open fun enqueueDocumentSources(@NonNull documentSources: List<DocumentSource>)

Queues an array of documents for indexing. Any documents already queued or fully indexed will be ignored. This call will avoid opening documents until they're indexed and it's thus significantly more memory friendly than enqueueDocuments.

Parameters

documentSources

List of document sources to index.