Class ProtostellarCoreSearchIndexManager
java.lang.Object
com.couchbase.client.core.protostellar.manager.ProtostellarCoreSearchIndexManager
- All Implemented Interfaces:
CoreSearchIndexManager
-
Constructor Summary
ConstructorDescriptionProtostellarCoreSearchIndexManager
(CoreProtostellar protostellar, CoreBucketAndScope bucketAndScope) -
Method Summary
Modifier and TypeMethodDescriptionallowQuerying
(String name, CoreCommonOptions options) 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) disallowQuerying
(String name, CoreCommonOptions options) dropIndex
(String name, CoreCommonOptions options) freezePlan
(String name, CoreCommonOptions options) getAllIndexes
(CoreCommonOptions options) getIndex
(String name, CoreCommonOptions options) getIndexedDocumentsCount
(String name, CoreCommonOptions options) pauseIngest
(String name, CoreCommonOptions options) resumeIngest
(String name, CoreCommonOptions options) unfreezePlan
(String name, CoreCommonOptions options) upsertIndex
(CoreSearchIndex index, CoreCommonOptions options)
-
Constructor Details
-
ProtostellarCoreSearchIndexManager
public ProtostellarCoreSearchIndexManager(CoreProtostellar protostellar, @Nullable CoreBucketAndScope bucketAndScope)
-
-
Method Details
-
getIndex
- Specified by:
getIndex
in interfaceCoreSearchIndexManager
-
getAllIndexes
- Specified by:
getAllIndexes
in interfaceCoreSearchIndexManager
-
getIndexedDocumentsCount
- Specified by:
getIndexedDocumentsCount
in interfaceCoreSearchIndexManager
-
upsertIndex
- Specified by:
upsertIndex
in interfaceCoreSearchIndexManager
-
dropIndex
- Specified by:
dropIndex
in interfaceCoreSearchIndexManager
-
analyzeDocument
public 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) - Specified by:
analyzeDocument
in interfaceCoreSearchIndexManager
-
pauseIngest
- Specified by:
pauseIngest
in interfaceCoreSearchIndexManager
-
resumeIngest
- Specified by:
resumeIngest
in interfaceCoreSearchIndexManager
-
allowQuerying
- Specified by:
allowQuerying
in interfaceCoreSearchIndexManager
-
disallowQuerying
- Specified by:
disallowQuerying
in interfaceCoreSearchIndexManager
-
freezePlan
- Specified by:
freezePlan
in interfaceCoreSearchIndexManager
-
unfreezePlan
- Specified by:
unfreezePlan
in interfaceCoreSearchIndexManager
-