Enum SimpleQueryFlag

java.lang.Object
java.lang.Enum<SimpleQueryFlag>
org.hibernate.search.engine.search.predicate.dsl.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 (")
    • PRECEDENCE

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

      public static final SimpleQueryFlag ESCAPE
      Enables ESCAPE operator (\)
    • WHITESPACE

      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.
      Returns:
      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.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null