Class TextField
java.lang.Object
redis.clients.jedis.search.schemafields.SchemaField
redis.clients.jedis.search.schemafields.TextField
- All Implemented Interfaces:
IParams
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanprivate booleanprivate Stringprivate booleanprivate booleanprivate Doubleprivate booleanFields inherited from class redis.clients.jedis.search.schemafields.SchemaField
fieldName -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddParams(CommandArguments args) noIndex()Avoid indexing.noStem()Disable stemming when indexing.static TextFieldstatic TextFieldPerform phonetic matching.sortable()Sorts the results by the value of this field.Sorts the results by the value of this field without normalization.weight(double weight) Declares the importance of this attribute when calculating result accuracy.Keeps a suffix trie with all terms which match the suffix.Methods inherited from class redis.clients.jedis.search.schemafields.SchemaField
getFieldName, getName
-
Field Details
-
sortable
private boolean sortable -
sortableUNF
private boolean sortableUNF -
noStem
private boolean noStem -
noIndex
private boolean noIndex -
phoneticMatcher
-
weight
-
withSuffixTrie
private boolean withSuffixTrie
-
-
Constructor Details
-
TextField
-
TextField
-
-
Method Details
-
of
-
of
-
as
- Overrides:
asin classSchemaField
-
sortable
Sorts the results by the value of this field. -
sortableUNF
Sorts the results by the value of this field without normalization. -
sortableUnNormalizedForm
- See Also:
-
noStem
Disable stemming when indexing. -
noIndex
Avoid indexing. -
phonetic
Perform phonetic matching. -
weight
Declares the importance of this attribute when calculating result accuracy. This is a multiplication factor. -
withSuffixTrie
Keeps a suffix trie with all terms which match the suffix. It is used to optimize contains and suffix queries. -
addParams
-