updateIndexFromDataSource

suspend fun updateIndexFromDataSource(indexingOptions: IndexingOptions = IndexingOptions())

Updates the index based on information provided by the data source. If there is no data source set, this method will throw an IllegalStateException. Any currently queued documents will be removed.

Parameters

indexingOptions

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