Uses of Class
com.couchbase.client.java.search.SearchQuery
-
Packages that use SearchQuery 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 SearchQuery in com.couchbase.client.java
Methods in com.couchbase.client.java with parameters of type SearchQuery Modifier and Type Method Description CompletableFuture<SearchResult>
AsyncCluster. searchQuery(SearchQuery query)
Performs a Full Text Search (FTS) query with defaultSearchOptions
.CompletableFuture<SearchResult>
AsyncCluster. searchQuery(SearchQuery query, SearchOptions options)
Performs a Full Text Search (FTS) query with customSearchOptions
.SearchResult
Cluster. searchQuery(SearchQuery query)
Performs a Full Text Search (FTS) query with defaultSearchOptions
.SearchResult
Cluster. searchQuery(SearchQuery query, SearchOptions options)
Performs a Full Text Search (FTS) query with customSearchOptions
.Mono<ReactiveSearchResult>
ReactiveCluster. searchQuery(SearchQuery query)
Performs a Full Text Search (FTS) query with defaultSearchOptions
.Mono<ReactiveSearchResult>
ReactiveCluster. searchQuery(SearchQuery query, SearchOptions options)
Performs a Full Text Search (FTS) query with customSearchOptions
. -
Uses of SearchQuery in com.couchbase.client.java.search
Methods in com.couchbase.client.java.search that return SearchQuery Modifier and Type Method Description SearchQuery
SearchQuery. addFacet(String facetName, SearchFacet facet)
Adds oneSearchFacet
to the query.SearchQuery
SearchQuery. clearFacets()
Clears all previously addedSearchFacet
.SearchQuery
SearchQuery. clearHighlight()
Clears any previously configured highlighting.SearchQuery
SearchQuery. explain()
Activates the explanation of each result hit in the response.SearchQuery
SearchQuery. explain(boolean explain)
Activates or deactivates the explanation of each result hit in the response, according to the parameter.SearchQuery
SearchQuery. fields(String... fields)
Configures the list of fields for which the whole value should be included in the response.SearchQuery
SearchQuery. highlight()
Configures the highlighting of matches in the response for all fields, using the server's default highlighting style.SearchQuery
SearchQuery. highlight(HighlightStyle style, String... fields)
Configures the highlighting of matches in the response.SearchQuery
SearchQuery. highlight(String... fields)
Configures the highlighting of matches in the response, for the specified fields and using the server's default highlighting style.SearchQuery
SearchQuery. limit(int limit)
Add a limit to the query on the number of rows it can return.SearchQuery
SearchQuery. searchConsistency(SearchConsistency consistency)
Sets the unparameterized consistency to consider for this FTS query.SearchQuery
SearchQuery. serverSideTimeout(Duration timeout)
Sets the server side timeout.SearchQuery
SearchQuery. skip(int skip)
Set the number of rows to skip (eg.SearchQuery
SearchQuery. sort(Object... sort)
Configures the list of fields (including special fields) which are used for sorting purposes.
-