Enum SimpleQueryFlag

All Implemented Interfaces:
Serializable, Comparable<SimpleQueryFlag>

public enum SimpleQueryFlag extends Enum<SimpleQueryFlag>
  • Enum Constant Details

    • AND

      public static final SimpleQueryFlag AND
      Enables AND operator (+)
    • NOT

      public static final SimpleQueryFlag NOT
      Enables NOT operator (-)
    • OR

      public static final SimpleQueryFlag OR
      Enables OR operator (|)
    • PREFIX

      public static final SimpleQueryFlag PREFIX
      Enables PREFIX operator (*)
    • PHRASE

      public static final SimpleQueryFlag PHRASE
      Enables PHRASE operator (")

      public static final SimpleQueryFlag PRECEDENCE
      Enables PRECEDENCE operators: ( and )
    • ESCAPE

      public static final SimpleQueryFlag ESCAPE
      Enables ESCAPE operator (\)

      public static final SimpleQueryFlag WHITESPACE
      Enables WHITESPACE operators: ' ' '\n' '\r' '\t'
    • FUZZY

      public static final SimpleQueryFlag FUZZY
      Enables FUZZY operators: (~) on single terms
    • NEAR

      public static final SimpleQueryFlag NEAR
      Enables NEAR operators: (~) on phrases
  • Method Details

    • values

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

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