enqueue Documents
Queues an array of documents for indexing. Any documents already queued or fully indexed will be ignored.
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!
Parameters
documents
List of documents to index.
open fun enqueueDocuments(@NonNull documents: List<PdfDocument>, @NonNull indexingOptions: IndexingOptions)
Queues an array of documents for indexing. Any documents already queued or fully indexed will be ignored.
Parameters
documents
List of documents to index.
indexing Options
Options for indexing the given documents.