SearchIndexManager

class SearchIndexManager

Functions

Link copied to clipboard
suspend fun allowQuerying(indexName: String, common: CommonOptions = CommonOptions.Default)
Link copied to clipboard
suspend fun analyzeDocument(indexName: String, documentJsonBytes: ByteArray, common: CommonOptions = CommonOptions.Default): ByteArray
Link copied to clipboard
suspend fun disallowQuerying(indexName: String, common: CommonOptions = CommonOptions.Default)
Link copied to clipboard
suspend fun dropIndex(indexName: String, common: CommonOptions = CommonOptions.Default)
Link copied to clipboard
suspend fun freezePlan(indexName: String, common: CommonOptions = CommonOptions.Default)
Link copied to clipboard
suspend fun getAllIndexes(common: CommonOptions = CommonOptions.Default): List<SearchIndex>
Link copied to clipboard
suspend fun getIndex(indexName: String, common: CommonOptions = CommonOptions.Default): SearchIndex
Link copied to clipboard
suspend fun getIndexedDocumentsCount(indexName: String, common: CommonOptions = CommonOptions.Default): Long
Link copied to clipboard
suspend fun pauseIngest(indexName: String, common: CommonOptions = CommonOptions.Default)
Link copied to clipboard
suspend fun resumeIngest(indexName: String, common: CommonOptions = CommonOptions.Default)
Link copied to clipboard
suspend fun unfreezePlan(indexName: String, common: CommonOptions = CommonOptions.Default)
Link copied to clipboard
suspend fun upsertIndex(index: SearchIndex, common: CommonOptions = CommonOptions.Default)