public class ProtostellarCoreSearchIndexManager extends Object implements CoreSearchIndexManager
| Constructor and Description |
|---|
ProtostellarCoreSearchIndexManager(CoreProtostellar protostellar,
CoreBucketAndScope bucketAndScope) |
public ProtostellarCoreSearchIndexManager(CoreProtostellar protostellar, @Nullable CoreBucketAndScope bucketAndScope)
public CompletableFuture<CoreSearchIndex> getIndex(String name, CoreCommonOptions options)
getIndex in interface CoreSearchIndexManagerpublic CompletableFuture<List<CoreSearchIndex>> getAllIndexes(CoreCommonOptions options)
getAllIndexes in interface CoreSearchIndexManagerpublic CompletableFuture<Long> getIndexedDocumentsCount(String name, CoreCommonOptions options)
getIndexedDocumentsCount in interface CoreSearchIndexManagerpublic CompletableFuture<Void> upsertIndex(CoreSearchIndex index, CoreCommonOptions options)
upsertIndex in interface CoreSearchIndexManagerpublic CompletableFuture<Void> dropIndex(String name, CoreCommonOptions options)
dropIndex in interface CoreSearchIndexManagerpublic CompletableFuture<List<com.couchbase.client.core.deps.com.fasterxml.jackson.databind.node.ObjectNode>> analyzeDocument(String name, com.couchbase.client.core.deps.com.fasterxml.jackson.databind.node.ObjectNode document, CoreCommonOptions options)
analyzeDocument in interface CoreSearchIndexManagerpublic CompletableFuture<Void> pauseIngest(String name, CoreCommonOptions options)
pauseIngest in interface CoreSearchIndexManagerpublic CompletableFuture<Void> resumeIngest(String name, CoreCommonOptions options)
resumeIngest in interface CoreSearchIndexManagerpublic CompletableFuture<Void> allowQuerying(String name, CoreCommonOptions options)
allowQuerying in interface CoreSearchIndexManagerpublic CompletableFuture<Void> disallowQuerying(String name, CoreCommonOptions options)
disallowQuerying in interface CoreSearchIndexManagerpublic CompletableFuture<Void> freezePlan(String name, CoreCommonOptions options)
freezePlan in interface CoreSearchIndexManagerpublic CompletableFuture<Void> unfreezePlan(String name, CoreCommonOptions options)
unfreezePlan in interface CoreSearchIndexManagerCopyright © 2024 Couchbase, Inc.. All rights reserved.