Package org.redisson.api.search.index
Interface TagIndex
- All Superinterfaces:
FieldIndex
- All Known Implementing Classes:
TagIndexParams
Tag field index options.
- Author:
- Nikita Koksharov
-
Method Summary
Modifier and TypeMethodDescriptionDefines the attribute associated to the field nameDefines whether to keep the original letter cases of the tags.noIndex()
Defines to not index this attributeDefines separator used for splitting the value of this attribute.Defines sort mode applied to the value of this attributeDefines whether to keep a suffix trie with all terms which match the suffix.
-
Method Details
-
as
Defines the attribute associated to the field name- Parameters:
as
- the associated attribute- Returns:
- options object
-
separator
Defines separator used for splitting the value of this attribute. The separator value must be a single character.Default is
,
- Parameters:
separator
- separator value- Returns:
- options object
-
sortMode
Defines sort mode applied to the value of this attribute- Parameters:
sortMode
- sort mode- Returns:
- options object
-
caseSensitive
TagIndex caseSensitive()Defines whether to keep the original letter cases of the tags. If not defined, the characters are converted to lowercase.- Returns:
- options object
-
noIndex
TagIndex noIndex()Defines to not index this attribute- Returns:
- options object
-
withSuffixTrie
TagIndex withSuffixTrie()Defines whether to keep a suffix trie with all terms which match the suffix.- Returns:
- options object
-