Uses of Class
com.couchbase.client.java.search.SearchOptions
| Package | Description |
|---|---|
| com.couchbase.client.java |
Holds all classes that are needed for the Couchbase Java SDK.
|
| com.couchbase.client.java.search |
Namespace for various search-service related classes.
|
-
Uses of SearchOptions in com.couchbase.client.java
Methods in com.couchbase.client.java with parameters of type SearchOptions Modifier and Type Method Description CompletableFuture<SearchResult>AsyncCluster. searchQuery(String indexName, SearchQuery query, SearchOptions options)Performs a Full Text Search (FTS) query with customSearchOptions.SearchResultCluster. searchQuery(String indexName, SearchQuery query, SearchOptions options)Performs a Full Text Search (FTS) query with customSearchOptions.Mono<ReactiveSearchResult>ReactiveCluster. 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
Methods in com.couchbase.client.java.search that return SearchOptions Modifier and Type Method Description SearchOptionsSearchOptions. consistentWith(MutationState consistentWith)Sets mutation tokens this query should be consistent with.SearchOptionsSearchOptions. disableScoring(boolean disableScoring)If set to true, thee server will not perform any scoring on the hits.SearchOptionsSearchOptions. explain(boolean explain)Activates or deactivates the explanation of each result hit in the response, according to the parameter.SearchOptionsSearchOptions. facets(Map<String,SearchFacet> facets)Adds oneSearchFacetto the query.SearchOptionsSearchOptions. fields(String... fields)Configures the list of fields for which the whole value should be included in the response.SearchOptionsSearchOptions. highlight()Configures the highlighting of matches in the response for all fields, using the server's default highlighting style.SearchOptionsSearchOptions. highlight(HighlightStyle style, String... fields)Configures the highlighting of matches in the response.SearchOptionsSearchOptions. highlight(String... fields)Configures the highlighting of matches in the response, for the specified fields and using the server's default highlighting style.SearchOptionsSearchOptions. limit(int limit)Add a limit to the query on the number of rows it can return.SearchOptionsSearchOptions. raw(String key, Object value)Allows providing custom JSON key/value pairs for advanced usage.SearchOptionsSearchOptions. scanConsistency(SearchScanConsistency consistency)Sets the unparameterized consistency to consider for this FTS query.static SearchOptionsSearchOptions. searchOptions()SearchOptionsSearchOptions. serializer(JsonSerializer serializer)SearchOptionsSearchOptions. skip(int skip)Set the number of rows to skip (eg.SearchOptionsSearchOptions. sort(Object... sort)Configures the list of fields (including special fields) which are used for sorting purposes.