Class TagField

java.lang.Object
redis.clients.jedis.search.schemafields.SchemaField
redis.clients.jedis.search.schemafields.TagField
All Implemented Interfaces:
IParams

public class TagField extends SchemaField
  • Field Details

    • sortable

      private boolean sortable
    • sortableUNF

      private boolean sortableUNF
    • noIndex

      private boolean noIndex
    • separator

      private byte[] separator
    • caseSensitive

      private boolean caseSensitive
    • withSuffixTrie

      private boolean withSuffixTrie
  • Constructor Details

    • TagField

      public TagField(String fieldName)
    • TagField

      public TagField(FieldName fieldName)
  • Method Details

    • of

      public static TagField of(String fieldName)
    • of

      public static TagField of(FieldName fieldName)
    • as

      public TagField as(String attribute)
      Overrides:
      as in class SchemaField
    • sortable

      public TagField sortable()
      Sorts the results by the value of this field.
    • sortableUNF

      public TagField sortableUNF()
      Sorts the results by the value of this field without normalization.
    • sortableUnNormalizedForm

      public TagField sortableUnNormalizedForm()
      See Also:
    • noIndex

      public TagField noIndex()
      Avoid indexing.
    • separator

      public TagField separator(char separator)
      Indicates how the text contained in the attribute is to be split into individual tags.
    • caseSensitive

      public TagField caseSensitive()
      Keeps the original letter cases of the tags.
    • withSuffixTrie

      public TagField withSuffixTrie()
      Keeps a suffix trie with all terms which match the suffix. It is used to optimize contains and suffix queries.
    • addParams

      public void addParams(CommandArguments args)