Package org.redisson.api.search.index
Class TagIndexParams
java.lang.Object
org.redisson.api.search.index.TagIndexParams
- All Implemented Interfaces:
FieldIndex,TagIndex
- 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.getAs()Defines whether to index an empty value.Defines to index documents that don't contain this attributebooleanbooleanbooleanbooleanbooleannoIndex()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
Description copied from interface:TagIndexDefines the attribute associated to the field name -
separator
Description copied from interface:TagIndexDefines separator used for splitting the value of this attribute. The separator value must be a single character.Default is
, -
sortMode
Description copied from interface:TagIndexDefines sort mode applied to the value of this attribute -
caseSensitive
Description copied from interface:TagIndexDefines whether to keep the original letter cases of the tags. If not defined, the characters are converted to lowercase.- Specified by:
caseSensitivein interfaceTagIndex- Returns:
- options object
-
noIndex
Description copied from interface:TagIndexDefines to not index this attribute -
withSuffixTrie
Description copied from interface:TagIndexDefines whether to keep a suffix trie with all terms which match the suffix.- Specified by:
withSuffixTriein interfaceTagIndex- Returns:
- options object
-
indexEmpty
Description copied from interface:TagIndexDefines whether to index an empty value.- Specified by:
indexEmptyin interfaceTagIndex- Returns:
- options object
-
indexMissing
Description copied from interface:TagIndexDefines to index documents that don't contain this attribute- Specified by:
indexMissingin interfaceTagIndex- Returns:
- options object
-
getFieldName
-
getAs
-
getSortMode
-
isCaseSensitive
public boolean isCaseSensitive() -
isNoIndex
public boolean isNoIndex() -
isWithSuffixTrie
public boolean isWithSuffixTrie() -
getSeparator
-
isIndexEmpty
public boolean isIndexEmpty() -
isIndexMissing
public boolean isIndexMissing()
-