enqueueDocuments

fun enqueueDocuments(documents: List<PdfDocument>, indexingOptions: IndexingOptions = IndexingOptions())

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.

indexingOptions

Options for indexing the given documents. Defaults to IndexingOptions if not specified.