[
https://issues.apache.org/jira/browse/SOLR-6479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14183381#comment-14183381
]
Jan Høydahl commented on SOLR-6479:
-----------------------------------
I'm not sure I agree that this is a bug. It may be a feature request, but that
will be up for discussion..
https://cwiki.apache.org/confluence/display/solr/The+Extended+DisMax+Query+Parser
> 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
> Labels: patch
> Attachments: SOLR-6479.patch
>
>
> 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]