Package org.redisson.api.search.index
Class TextIndexParams
java.lang.Object
org.redisson.api.search.index.TextIndexParams
- All Implemented Interfaces:
FieldIndex
,TextIndex
- Author:
- Nikita Koksharov
-
Method Summary
Modifier and TypeMethodDescriptionDefines the attribute associated to the field name.getAs()
boolean
boolean
isNoStem()
boolean
noIndex()
Defines to not index this attributenoStem()
Defines whether to disable stemming when indexing its values.phonetic
(PhoneticMatcher matcher) Defines phonetic matcher algorithm and language used for search result matching.Defines sort mode applied to the value of this attribute.Defines declares a multiplication factor value used to declare the importance of this attribute when calculating result accuracy.Defines whether to keep a suffix trie with all terms which match the suffix.
-
Method Details
-
as
Description copied from interface:TextIndex
Defines the attribute associated to the field name. -
sortMode
Description copied from interface:TextIndex
Defines sort mode applied to the value of this attribute. -
noStem
Description copied from interface:TextIndex
Defines whether to disable stemming when indexing its values. -
noIndex
Description copied from interface:TextIndex
Defines to not index this attribute -
withSuffixTrie
Description copied from interface:TextIndex
Defines whether to keep a suffix trie with all terms which match the suffix.- Specified by:
withSuffixTrie
in interfaceTextIndex
- Returns:
- options object
-
phonetic
Description copied from interface:TextIndex
Defines phonetic matcher algorithm and language used for search result matching. -
weight
Description copied from interface:TextIndex
Defines declares a multiplication factor value used to declare the importance of this attribute when calculating result accuracy. -
getFieldName
-
getAs
-
getSortMode
-
isNoIndex
public boolean isNoIndex() -
isNoStem
public boolean isNoStem() -
getMatcher
-
isWithSuffixTrie
public boolean isWithSuffixTrie() -
getWeight
-