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()Defines whether to index an empty value.Defines to index documents that don't contain this attributebooleanbooleanbooleanbooleanisNoStem()booleannoIndex()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:TextIndexDefines the attribute associated to the field name. -
sortMode
Description copied from interface:TextIndexDefines sort mode applied to the value of this attribute. -
noStem
Description copied from interface:TextIndexDefines whether to disable stemming when indexing its values. -
noIndex
Description copied from interface:TextIndexDefines to not index this attribute -
withSuffixTrie
Description copied from interface:TextIndexDefines whether to keep a suffix trie with all terms which match the suffix.- Specified by:
withSuffixTriein interfaceTextIndex- Returns:
- options object
-
phonetic
Description copied from interface:TextIndexDefines phonetic matcher algorithm and language used for search result matching. -
weight
Description copied from interface:TextIndexDefines declares a multiplication factor value used to declare the importance of this attribute when calculating result accuracy. -
indexEmpty
Description copied from interface:TextIndexDefines whether to index an empty value.- Specified by:
indexEmptyin interfaceTextIndex- Returns:
- options object
-
indexMissing
Description copied from interface:TextIndexDefines to index documents that don't contain this attribute- Specified by:
indexMissingin interfaceTextIndex- Returns:
- options object
-
getFieldName
-
getAs
-
getSortMode
-
isNoIndex
public boolean isNoIndex() -
isNoStem
public boolean isNoStem() -
getMatcher
-
isWithSuffixTrie
public boolean isWithSuffixTrie() -
getWeight
-
isIndexEmpty
public boolean isIndexEmpty() -
isIndexMissing
public boolean isIndexMissing()
-