Pierre Salagnac created SOLR-6479:
-------------------------------------
Summary: ExtendedDismax does not recognize operators followed by a
parenthesis without space
Key: SOLR-6479
URL: https://issues.apache.org/jira/browse/SOLR-6479
Project: Solr
Issue Type: Bug
Components: query parsers
Affects Versions: 4.9
Environment: Java 7
Linux
Reporter: Pierre Salagnac
Priority: Minor
Before doing through the syntax parser, edismax does a pre-analysis of the
query to applies some parameters, like whether lower case operators are
recognized.
This basic analysis in {{splitIntoClauses()}} pseudo-tokenizes the query string
on whitespaces. An operator directly followed by a parenthesis is not
recognized because only one token is created.
{code}
foo AND (bar) -> foo ; AND ; (bar)
foo AND(bar) -> foo ; AND(bar)
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]