Class TextField

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

public class TextField extends SchemaField
  • Field Details

    • sortable

      private boolean sortable
    • sortableUNF

      private boolean sortableUNF
    • noStem

      private boolean noStem
    • noIndex

      private boolean noIndex
    • phoneticMatcher

      private String phoneticMatcher
    • weight

      private Double weight
    • withSuffixTrie

      private boolean withSuffixTrie
  • Constructor Details

    • TextField

      public TextField(String fieldName)
    • TextField

      public TextField(FieldName fieldName)
  • Method Details

    • of

      public static TextField of(String fieldName)
    • of

      public static TextField of(FieldName fieldName)
    • as

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

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

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

      public TextField sortableUnNormalizedForm()
      See Also:
    • noStem

      public TextField noStem()
      Disable stemming when indexing.
    • noIndex

      public TextField noIndex()
      Avoid indexing.
    • phonetic

      public TextField phonetic(String matcher)
      Perform phonetic matching.
    • weight

      public TextField weight(double weight)
      Declares the importance of this attribute when calculating result accuracy. This is a multiplication factor.
    • withSuffixTrie

      public TextField 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)