Package | Description |
---|---|
com.couchbase.client.java | |
com.couchbase.client.java.search |
Modifier and Type | Method and Description |
---|---|
SearchQueryResult |
CouchbaseBucket.query(SearchQuery query) |
Observable<AsyncSearchQueryResult> |
CouchbaseAsyncBucket.query(SearchQuery query) |
SearchQueryResult |
Bucket.query(SearchQuery query)
Experimental: Queries a Full-Text Index
|
Observable<AsyncSearchQueryResult> |
AsyncBucket.query(SearchQuery query)
Experimental: Queries a Full-Text Index
|
SearchQueryResult |
CouchbaseBucket.query(SearchQuery query,
long timeout,
TimeUnit timeUnit) |
SearchQueryResult |
Bucket.query(SearchQuery query,
long timeout,
TimeUnit timeUnit)
Experimental: Queries a Full-Text Index
|
Modifier and Type | Method and Description |
---|---|
SearchQuery |
SearchQuery.addFacet(String facetName,
SearchFacet facet)
Adds one
SearchFacet to the query. |
SearchQuery |
SearchQuery.clearFacets()
Clears all previously added
SearchFacet . |
SearchQuery |
SearchQuery.clearHighlight()
Clears any previously configured highlighting.
|
SearchQuery |
SearchQuery.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.
|
SearchQuery |
SearchQuery.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.
|
SearchQuery |
SearchQuery.consistentWith(MutationState mutationState)
Sets the consistency to consider for this FTS query to AT_PLUS and uses the
MutationState directly to parameterize the consistency. |
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(HighlightStyle style,
String... fields)
Configures the highlighting of matches in the response.
|
SearchQuery |
SearchQuery.limit(int limit)
Add a limit to the query on the number of hits it can return.
|
SearchQuery |
SearchQuery.scanConsistency(ScanConsistency consistency)
Sets the unparameterized consistency to consider for this FTS query.
|
SearchQuery |
SearchQuery.serverSideTimeout(long timeout,
TimeUnit unit)
Sets the server side timeout.
|
SearchQuery |
SearchQuery.skip(int skip)
Set the number of hits to skip (eg.
|
Copyright © 2015 Couchbase, Inc.