Ineffective search for the "simpleQueryString_" predicate. The SimpleQueryParser class requires the "flags" parameter in the constructor. Currently, the "flags" parameter is set to "-1", which means that the operation of this predicate does not differ from the "match" predicate. Unfortunately, this makes the predicate completely useless. The correct operation of SimpleQueryParser depends on the settings of these flags, however it is not possible to set them by defining predicates.
/** Enables
Unknown macro: {@code AND}
operator */ public static final int AND_OPERATOR = 1<<0; /** Enables
Unknown macro: {@code NOT}
operator */ public static final int NOT_OPERATOR = 1<<1; /** Enables
Unknown macro: {@code OR}
operator (|) */ public static final int OR_OPERATOR = 1<<2; /** Enables
Unknown macro: {@code PREFIX}
operator */ public static final int PREFIX_OPERATOR = 1<<3; /** Enables
Unknown macro: {@code PHRASE}
operator (") */ public static final int PHRASE_OPERATOR = 1<<4; /** Enables
Unknown macro: {@code PRECEDENCE}
operators:
Unknown macro: {@code (}
and
Unknown macro: {@code )}
*/ public static final int PRECEDENCE_OPERATORS = 1<<5; /** Enables
Unknown macro: {@code ESCAPE}
operator () */ public static final int ESCAPE_OPERATOR = 1<<6; /** Enables
Unknown macro: {@code WHITESPACE}
operators: ' ' '\n' '\r' '\t' */ public static final int WHITESPACE_OPERATOR = 1<<7; /** Enables
Unknown macro: {@code FUZZY}
operators: (~) on single terms */ public static final int FUZZY_OPERATOR = 1<<8; /** Enables
Unknown macro: {@code NEAR}
operators: (~) on phrases */ public static final int NEAR_OPERATOR = 1<<9;
|