SearchOptions |
SearchOptions.consistentWith(MutationState consistentWith) |
Sets mutation tokens this query should be consistent with.
|
SearchOptions |
SearchOptions.explain(boolean explain) |
Activates or deactivates the explanation of each result hit in the response, according to the parameter.
|
SearchOptions |
SearchOptions.facets(Map<String,SearchFacet> facets) |
|
SearchOptions |
SearchOptions.fields(String... fields) |
Configures the list of fields for which the whole value should be included in the response.
|
SearchOptions |
SearchOptions.highlight() |
Configures the highlighting of matches in the response for all fields, using the server's default highlighting
style.
|
SearchOptions |
SearchOptions.highlight(HighlightStyle style,
String... fields) |
Configures the highlighting of matches in the response.
|
SearchOptions |
SearchOptions.highlight(String... fields) |
Configures the highlighting of matches in the response, for the specified fields and using the server's default
highlighting style.
|
SearchOptions |
SearchOptions.limit(int limit) |
Add a limit to the query on the number of rows it can return.
|
SearchOptions |
SearchOptions.raw(String key,
Object value) |
Allows providing custom JSON key/value pairs for advanced usage.
|
SearchOptions |
SearchOptions.scanConsistency(SearchScanConsistency consistency) |
Sets the unparameterized consistency to consider for this FTS query.
|
static SearchOptions |
SearchOptions.searchOptions() |
|
SearchOptions |
SearchOptions.serializer(JsonSerializer serializer) |
|
SearchOptions |
SearchOptions.skip(int skip) |
Set the number of rows to skip (eg.
|
SearchOptions |
SearchOptions.sort(Object... sort) |
Configures the list of fields (including special fields) which are used for sorting purposes.
|