Uses of Class
com.couchbase.client.java.search.SearchOptions
Package
Description
Holds all classes that are needed for the Couchbase Java SDK.
Namespace for various search-service related classes.
-
Uses of SearchOptions in com.couchbase.client.java
Modifier and TypeMethodDescriptionAsyncCluster.search
(String indexName, SearchRequest searchRequest, SearchOptions options) Performs a request against the Full Text Search (FTS) service, with customSearchOptions
.AsyncScope.search
(String indexName, SearchRequest searchRequest, SearchOptions options) Performs a request against the Full Text Search (FTS) service, with customSearchOptions
.Cluster.search
(String indexName, SearchRequest searchRequest, SearchOptions options) Performs a request against the Full Text Search (FTS) service, with customSearchOptions
.ReactiveCluster.search
(String indexName, SearchRequest searchRequest, SearchOptions options) Performs a request against the Full Text Search (FTS) service, with customSearchOptions
.ReactiveScope.search
(String indexName, SearchRequest searchRequest, SearchOptions options) Performs a request against the Full Text Search (FTS) service, with customSearchOptions
.Scope.search
(String indexName, SearchRequest searchRequest, SearchOptions options) Performs a request against the Full Text Search (FTS) service, with customSearchOptions
.AsyncCluster.searchQuery
(String indexName, SearchQuery query, SearchOptions options) Performs a Full Text Search (FTS) query with customSearchOptions
.AsyncScope.searchQuery
(String indexName, SearchQuery query, SearchOptions options) Performs a Full Text Search (FTS) query with customSearchOptions
.Cluster.searchQuery
(String indexName, SearchQuery query, SearchOptions options) Performs a Full Text Search (FTS) query with customSearchOptions
.ReactiveCluster.searchQuery
(String indexName, SearchQuery query, SearchOptions options) Performs a Full Text Search (FTS) query with customSearchOptions
.ReactiveScope.searchQuery
(String indexName, SearchQuery query, SearchOptions options) Performs a Full Text Search (FTS) query with customSearchOptions
.Scope.searchQuery
(String indexName, SearchQuery query, SearchOptions options) Performs a Full Text Search (FTS) query with customSearchOptions
. -
Uses of SearchOptions in com.couchbase.client.java.search
Modifier and TypeMethodDescriptionSearchOptions.collections
(String... collectionNames) Allows to limit the search query to a specific list of collection names.SearchOptions.consistentWith
(MutationState consistentWith) Sets mutation tokens this query should be consistent with.SearchOptions.disableScoring
(boolean disableScoring) If set to true, thee server will not perform any scoring on the hits.SearchOptions.explain
(boolean explain) Activates or deactivates the explanation of each result hit in the response, according to the parameter.SearchOptions.facets
(Map<String, SearchFacet> facets) Adds oneSearchFacet
to the query.Configures the list of fields for which the whole value should be included in the response.SearchOptions.highlight()
Configures the highlighting of matches in the response for all fields, using the server's default highlighting style.SearchOptions.highlight
(HighlightStyle style, String... fields) Configures the highlighting of matches in the response.Configures the highlighting of matches in the response, for the specified fields and using the server's default highlighting style.SearchOptions.includeLocations
(boolean includeLocations) If set to true, will include theSearchRow.locations()
.SearchOptions.limit
(int limit) Add a limit to the query on the number of rows it can return.Allows providing custom JSON key/value pairs for advanced usage.SearchOptions.scanConsistency
(SearchScanConsistency consistency) Sets the unparameterized consistency to consider for this FTS query.static SearchOptions
SearchOptions.searchOptions()
SearchOptions.serializer
(JsonSerializer serializer) SearchOptions.skip
(int skip) Set the number of rows to skip (eg.Configures the list of fields (including special fields) which are used for sorting purposes.