Enum Class LexicalFilters

java.lang.Object
java.lang.Enum<LexicalFilters>
com.datastax.astra.client.core.lexical.LexicalFilters
All Implemented Interfaces:
Serializable, Comparable<LexicalFilters>, Constable

public enum LexicalFilters extends Enum<LexicalFilters>
Lexical filters used for indexing and searching 'lexical' data.
  • Enum Constant Details

    • LOWERCASE

      public static final LexicalFilters LOWERCASE
      Filters StandardTokenizer output that divides text into terms on word boundaries and then uses the LowerCaseFilter.
    • STOP

      public static final LexicalFilters STOP
      Filter with stop words
    • SYNONYM

      public static final LexicalFilters SYNONYM
      Filter with synonyms
    • SYNONYM_GRAPH

      public static final LexicalFilters SYNONYM_GRAPH
      Filter with synonyms and graph
  • Method Details

    • values

      public static LexicalFilters[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static LexicalFilters valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null