Package | Description |
---|---|
io.redisearch | |
io.redisearch.client |
Modifier and Type | Method and Description |
---|---|
Query |
Query.addFilter(io.redisearch.Query.Filter f)
Add a filter to the query's filter list
|
Query |
Query.highlightFields(Query.HighlightTags tags,
String... fields) |
Query |
Query.highlightFields(String... fields) |
Query |
Query.limit(Integer offset,
Integer limit)
Limit the results to a certain offset and limit
|
Query |
Query.limitFields(String... fields)
Limit the query to results that are limited to a specific set of fields
|
Query |
Query.limitKeys(String... keys)
Limit the query to results that are limited to a specific set of keys
|
Query |
Query.returnFields(String... fields)
Result's projection - the fields to return by the query
|
Query |
Query.setLanguage(String language)
Set the query language, for stemming purposes
|
Query |
Query.setNoContent()
Set the query not to return the contents of documents, and rather just return the ids
|
Query |
Query.setNoStopwords()
Set the query not to filter for stopwords.
|
Query |
Query.setPayload(byte[] payload) |
Query |
Query.setSortBy(String field,
boolean ascending)
Set the query to be sorted by a Sortable field defined in the schema
|
Query |
Query.setVerbatim()
Set the query to verbatim mode, disabling stemming and query expansion
|
Query |
Query.setWithPaload()
Deprecated.
|
Query |
Query.setWithPayload()
Set the query to return object payloads, if any were given
|
Query |
Query.setWithScores()
Set the query to return a factored score for each results.
|
Query |
Query.summarizeFields(int contextLen,
int fragmentCount,
String separator,
String... fields) |
Query |
Query.summarizeFields(String... fields) |
Modifier and Type | Method and Description |
---|---|
String |
Client.explain(Query q) |
SearchResult |
Client.search(Query q) |
Modifier and Type | Method and Description |
---|---|
String |
Client.explain(Query q)
Generate an explanatory textual query tree for this query string
|
SearchResult |
Client.search(Query q)
Search the index
|
SearchResult |
Client.search(Query q,
boolean decode)
Search the index
|
Copyright © 2019. All rights reserved.