[
https://issues.apache.org/jira/browse/SOLR-3744?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hoss Man updated SOLR-3744:
---------------------------
Fix Version/s: (was: 4.0)
(was: 3.6.2)
removing fixVersion=4.0 since there is no evidence that anyone is currently
working on this issue. (this can certainly be revisited if volunteers step
forward)
> Solr LuceneQParser only handles pure negative queries at the top-level query,
> but not within parenthesized sub-queries
> ----------------------------------------------------------------------------------------------------------------------
>
> Key: SOLR-3744
> URL: https://issues.apache.org/jira/browse/SOLR-3744
> Project: Solr
> Issue Type: Bug
> Components: query parsers
> Affects Versions: 3.6.1, 4.0-BETA
> Reporter: Jack Krupansky
>
> The SolrQuerySyntax wiki says that pure negative queries are supported ("Pure
> negative queries (all clauses prohibited) are allowed"), which is true at the
> top-level query, but not for sub-queries enclosed within parentheses.
> See:
> http://wiki.apache.org/solr/SolrQuerySyntax
> Some queries that will not evaluate properly:
> test AND (-fox)
> test (-fox)
> test OR (abc OR (-fox))
> test (-fox)
> Sub-queries combined with the "AND" and "OR" keyword operators also fail to
> evaluate properly. For example,
> test OR -fox
> -fox OR test
> Note that all of these queries are supported properly by the edismax query
> parser.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]