Uses of Class
com.couchbase.client.java.search.SearchQuery
-
Packages that use SearchQuery Package Description com.couchbase.client.java com.couchbase.client.java.search com.couchbase.client.java.search.core com.couchbase.client.java.util.rawQuerying -
-
Uses of SearchQuery in com.couchbase.client.java
Methods in com.couchbase.client.java with parameters of type SearchQuery Modifier and Type Method Description rx.Observable<AsyncSearchQueryResult>AsyncBucket. query(SearchQuery query)Queries a Full-Text Index The returnedObservablecan error under the following conditions: - The producer outpaces the SDK:BackpressureException- The operation had to be cancelled while on the wire or the retry strategy cancelled it instead of retrying:RequestCancelledExceptionrx.Observable<AsyncSearchQueryResult>AsyncBucket. query(SearchQuery query, long timeout, TimeUnit timeUnit)Queries a Full-Text Index The returnedObservablecan error under the following conditions: - The producer outpaces the SDK:BackpressureException- The operation had to be cancelled while on the wire or the retry strategy cancelled it instead of retrying:RequestCancelledExceptionSearchQueryResultBucket. query(SearchQuery query)Queries a Full-Text Index This method throws under the following conditions: - The producer outpaces the SDK:BackpressureException- The operation had to be cancelled while on the wire or the retry strategy cancelled it instead of retrying:RequestCancelledExceptionSearchQueryResultBucket. query(SearchQuery query, long timeout, TimeUnit timeUnit)Queries a Full-Text Index This method throws under the following conditions: - The producer outpaces the SDK:BackpressureException- The operation had to be cancelled while on the wire or the retry strategy cancelled it instead of retrying:RequestCancelledExceptionrx.Observable<AsyncSearchQueryResult>CouchbaseAsyncBucket. query(SearchQuery query)rx.Observable<AsyncSearchQueryResult>CouchbaseAsyncBucket. query(SearchQuery query, long timeout, TimeUnit timeUnit)SearchQueryResultCouchbaseBucket. query(SearchQuery query)SearchQueryResultCouchbaseBucket. query(SearchQuery query, long timeout, TimeUnit timeUnit) -
Uses of SearchQuery in com.couchbase.client.java.search
Methods in com.couchbase.client.java.search that return SearchQuery Modifier and Type Method Description SearchQuerySearchQuery. addFacet(String facetName, SearchFacet facet)Adds oneSearchFacetto the query.SearchQuerySearchQuery. clearFacets()Clears all previously addedSearchFacet.SearchQuerySearchQuery. clearHighlight()Clears any previously configured highlighting.SearchQuerySearchQuery. consistentWith(Document... docs)Sets the consistency to consider for this FTS query to AT_PLUS and uses the mutation information from the given documents to parameterize the consistency.SearchQuerySearchQuery. consistentWith(MutationState mutationState)Sets the consistency to consider for this FTS query to AT_PLUS and uses theMutationStatedirectly to parameterize the consistency.SearchQuerySearchQuery. consistentWith(DocumentFragment... fragments)Sets the consistency to consider for this FTS query to AT_PLUS and uses the mutation information from the given document fragments to parameterize the consistency.SearchQuerySearchQuery. explain()Activates the explanation of each result hit in the response.SearchQuerySearchQuery. explain(boolean explain)Activates or deactivates the explanation of each result hit in the response, according to the parameter.SearchQuerySearchQuery. fields(String... fields)Configures the list of fields for which the whole value should be included in the response.SearchQuerySearchQuery. highlight()Configures the highlighting of matches in the response for all fields, using the server's default highlighting style.SearchQuerySearchQuery. highlight(HighlightStyle style, String... fields)Configures the highlighting of matches in the response.SearchQuerySearchQuery. highlight(String... fields)Configures the highlighting of matches in the response, for the specified fields and using the server's default highlighting style.SearchQuerySearchQuery. limit(int limit)Add a limit to the query on the number of hits it can return.SearchQuerySearchQuery. searchConsistency(SearchConsistency consistency)Sets the unparameterized consistency to consider for this FTS query.SearchQuerySearchQuery. serverSideTimeout(long timeout, TimeUnit unit)Sets the server side timeout.SearchQuerySearchQuery. skip(int skip)Set the number of hits to skip (eg.SearchQuerySearchQuery. sort(Object... sort)Configures the list of fields (including special fields) which are used for sorting purposes. -
Uses of SearchQuery in com.couchbase.client.java.search.core
Methods in com.couchbase.client.java.search.core with parameters of type SearchQuery Modifier and Type Method Description rx.Observable<AsyncSearchQueryResult>SearchQueryExecutor. execute(SearchQuery query, long timeout, TimeUnit timeUnit)Executes the givenSearchQuery. -
Uses of SearchQuery in com.couchbase.client.java.util.rawQuerying
Methods in com.couchbase.client.java.util.rawQuerying with parameters of type SearchQuery Modifier and Type Method Description rx.Observable<JsonObject>AsyncRawQueryExecutor. ftsToJsonObject(SearchQuery query)Asynchronously perform aSearchQueryand return the raw N1QL response as aJsonObject.JsonObjectRawQueryExecutor. ftsToJsonObject(SearchQuery query)Synchronously perform aSearchQueryand return the raw N1QL response as aJsonObject.<T> rx.Observable<T>AsyncRawQueryExecutor. ftsToRawCustom(SearchQuery query, rx.functions.Func1<String,T> deserializer)Asynchronously perform aSearchQueryand apply a user function to deserialize the raw JSON FTS response, which is represented as aString.<T> TRawQueryExecutor. ftsToRawCustom(SearchQuery query, rx.functions.Func1<String,T> deserializer)Synchronously perform aSearchQueryand apply a user function to deserialize the raw JSON FTS response, which is represented as aString.rx.Observable<String>AsyncRawQueryExecutor. ftsToRawJson(SearchQuery query)Asynchronously perform aSearchQueryand return the raw N1QL response as a String.StringRawQueryExecutor. ftsToRawJson(SearchQuery query)Synchronously perform aSearchQueryand return the raw N1QL response as a String.
-