Waldemar Kłaczyński (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *created* an issue
Hibernate Search (
https://hibernate.atlassian.net/browse/HSEARCH?atlOrigin=eyJpIjoiZmE4ODg1...
) / Bug (
https://hibernate.atlassian.net/browse/HSEARCH-3845?atlOrigin=eyJpIjoiZmE...
) HSEARCH-3845 (
https://hibernate.atlassian.net/browse/HSEARCH-3845?atlOrigin=eyJpIjoiZmE...
) Ineffective search for the "simpleQueryString" predicate. (
https://hibernate.atlassian.net/browse/HSEARCH-3845?atlOrigin=eyJpIjoiZmE...
)
Issue Type: Bug Affects Versions: 6.0.0.Beta5 Assignee: Unassigned Components:
backend-lucene Created: 27/Feb/2020 15:35 PM Priority: Major Reporter: Waldemar Kłaczyński
(
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
)
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;
(
https://hibernate.atlassian.net/browse/HSEARCH-3845#add-comment?atlOrigin...
) Add Comment (
https://hibernate.atlassian.net/browse/HSEARCH-3845#add-comment?atlOrigin...
)
Get Jira notifications on your phone! Download the Jira Cloud app for Android (
https://play.google.com/store/apps/details?id=com.atlassian.android.jira....
) or iOS (
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=Em...
) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100121- sha1:0fbe7c1 )