Prefix query in SimpleQueryString predicate is case sensitive

Description

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 {@code AND} operator */
public static final int AND_OPERATOR = 1<<0;
/** Enables {@code NOT} operator */
public static final int NOT_OPERATOR = 1<<1;
/** Enables {@code OR} operator (|) */
public static final int OR_OPERATOR = 1<<2;
/** Enables {@code PREFIX} operator */
public static final int PREFIX_OPERATOR = 1<<3;
/** Enables {@code PHRASE} operator (") */
public static final int PHRASE_OPERATOR = 1<<4;
/** Enables {@code PRECEDENCE} operators: {@code (} and {@code )} */
public static final int PRECEDENCE_OPERATORS = 1<<5;
/** Enables {@code ESCAPE} operator () */
public static final int ESCAPE_OPERATOR = 1<<6;
/** Enables {@code WHITESPACE} operators: ' ' '\n' '\r' '\t' */
public static final int WHITESPACE_OPERATOR = 1<<7;
/** Enables {@code FUZZY} operators: (~) on single terms */
public static final int FUZZY_OPERATOR = 1<<8;
/** Enables {@code NEAR} operators: (~) on phrases */
public static final int NEAR_OPERATOR = 1<<9;

Environment

None

Assignee

Waldemar Kłaczyński

Reporter

Waldemar Kłaczyński

Labels

None

Suitable for new contributors

None

Feedback Requested

None

Components

Fix versions

Affects versions

Priority

Major
Configure