Package | Description |
---|---|
redis.clients.jedis | |
redis.clients.jedis.search |
This package contains the classes and interfaces related to RediSearch module.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
UnifiedJedis.ftExplain(java.lang.String indexName,
Query query) |
CommandObject<java.lang.String> |
CommandObjects.ftExplain(java.lang.String indexName,
Query query) |
Response<java.lang.String> |
PipeliningBase.ftExplain(java.lang.String indexName,
Query query) |
java.util.List<java.lang.String> |
UnifiedJedis.ftExplainCLI(java.lang.String indexName,
Query query) |
CommandObject<java.util.List<java.lang.String>> |
CommandObjects.ftExplainCLI(java.lang.String indexName,
Query query) |
Response<java.util.List<java.lang.String>> |
PipeliningBase.ftExplainCLI(java.lang.String indexName,
Query query) |
java.util.Map.Entry<SearchResult,java.util.Map<java.lang.String,java.lang.Object>> |
UnifiedJedis.ftProfileSearch(java.lang.String indexName,
FTProfileParams profileParams,
Query query) |
CommandObject<java.util.Map.Entry<SearchResult,java.util.Map<java.lang.String,java.lang.Object>>> |
CommandObjects.ftProfileSearch(java.lang.String indexName,
FTProfileParams profileParams,
Query query) |
SearchResult |
UnifiedJedis.ftSearch(byte[] indexName,
Query query)
Deprecated.
|
CommandObject<SearchResult> |
CommandObjects.ftSearch(byte[] indexName,
Query query)
Deprecated.
|
Response<SearchResult> |
PipeliningBase.ftSearch(byte[] indexName,
Query query)
Deprecated.
|
SearchResult |
UnifiedJedis.ftSearch(java.lang.String indexName,
Query query) |
CommandObject<SearchResult> |
CommandObjects.ftSearch(java.lang.String indexName,
Query query) |
Response<SearchResult> |
PipeliningBase.ftSearch(java.lang.String indexName,
Query query) |
FtSearchIteration |
UnifiedJedis.ftSearchIteration(int batchSize,
java.lang.String indexName,
Query query)
limit(java.lang.Integer, java.lang.Integer) will be ignored. |
Modifier and Type | Method and Description |
---|---|
Query |
Query.addFilter(Query.Filter f)
Add a filter to the query's filter list
|
Query |
Query.addParam(java.lang.String name,
java.lang.Object value)
Parameters can be referenced in the query string by a $ , followed by the parameter name,
e.g., $user , and each such reference in the search query to a parameter name is substituted
by the corresponding parameter value.
|
Query |
Query.dialect(int dialect)
Set the dialect version to execute the query accordingly
|
Query |
Query.dialectOptional(int dialect)
This method will not replace the dialect if it has been already set.
|
Query |
Query.highlightFields(Query.HighlightTags tags,
java.lang.String... fields) |
Query |
Query.highlightFields(java.lang.String... fields) |
Query |
Query.limit(java.lang.Integer offset,
java.lang.Integer limit)
Limit the results to a certain offset and limit
|
Query |
Query.limitFields(java.lang.String... fields)
Limit the query to results that are limited to a specific set of fields
|
Query |
Query.limitKeys(java.lang.String... keys)
Limit the query to results that are limited to a specific set of keys
|
Query |
Query.returnFields(FieldName... fields)
Result's projection - the fields to return by the query
|
Query |
Query.returnFields(java.lang.String... fields)
Result's projection - the fields to return by the query
|
Query |
Query.setExpander(java.lang.String field)
Set the query to use a custom query expander instead of the stemmer
|
Query |
Query.setInOrder()
Set the query terms appear in the same order in the document as in the query, regardless of the offsets between them
|
Query |
Query.setLanguage(java.lang.String language)
Set the query language, for stemming purposes
See http://redisearch.io for documentation on languages and stemming
|
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.setScorer(java.lang.String scorer)
Set the query custom scorer
See http://redisearch.io for documentation on extending RediSearch
|
Query |
Query.setSortBy(java.lang.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.setWithScores()
Set the query to return a factored score for each results.
|
Query |
Query.slop(int slop)
Set the slop to execute the query accordingly
|
Query |
Query.summarizeFields(int contextLen,
int fragmentCount,
java.lang.String separator,
java.lang.String... fields) |
Query |
Query.summarizeFields(java.lang.String... fields) |
Query |
Query.timeout(long timeout)
Set the timeout to execute the query accordingly
|
Modifier and Type | Method and Description |
---|---|
Response<java.lang.String> |
RediSearchPipelineCommands.ftExplain(java.lang.String indexName,
Query query) |
java.lang.String |
RediSearchCommands.ftExplain(java.lang.String indexName,
Query query) |
Response<java.util.List<java.lang.String>> |
RediSearchPipelineCommands.ftExplainCLI(java.lang.String indexName,
Query query) |
java.util.List<java.lang.String> |
RediSearchCommands.ftExplainCLI(java.lang.String indexName,
Query query) |
java.util.Map.Entry<SearchResult,java.util.Map<java.lang.String,java.lang.Object>> |
RediSearchCommands.ftProfileSearch(java.lang.String indexName,
FTProfileParams profileParams,
Query query) |
Response<SearchResult> |
RediSearchPipelineCommands.ftSearch(byte[] indexName,
Query query)
Deprecated.
|
SearchResult |
RediSearchCommands.ftSearch(byte[] indexName,
Query query)
Deprecated.
|
Response<SearchResult> |
RediSearchPipelineCommands.ftSearch(java.lang.String indexName,
Query query) |
SearchResult |
RediSearchCommands.ftSearch(java.lang.String indexName,
Query query) |
Constructor and Description |
---|
FtSearchIteration(ConnectionProvider connectionProvider,
int batchSize,
java.lang.String indexName,
Query query)
limit(java.lang.Integer, java.lang.Integer) will be ignored. |
FtSearchIteration(ConnectionProvider connectionProvider,
RedisProtocol protocol,
int batchSize,
java.lang.String indexName,
Query query)
limit(java.lang.Integer, java.lang.Integer) will be ignored. |
Copyright © 2024. All rights reserved.