You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "James Dyer (JIRA)" <ji...@apache.org> on 2013/04/19 22:01:16 UTC
[jira] [Assigned] (SOLR-4333) edismax query with escaped colon
ignores AND and OR
[ https://issues.apache.org/jira/browse/SOLR-4333?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
James Dyer reassigned SOLR-4333:
--------------------------------
Assignee: James Dyer
> edismax query with escaped colon ignores AND and OR
> ---------------------------------------------------
>
> Key: SOLR-4333
> URL: https://issues.apache.org/jira/browse/SOLR-4333
> Project: Solr
> Issue Type: Bug
> Components: query parsers
> Affects Versions: 4.0
> Environment: tomcat 7.34
> java 7u11
> windows 2008R2
> Reporter: Robert J. van der Boon
> Assignee: James Dyer
> Attachments: SOLR-4333.patch, SOLR-4333.patch, SOLR-4333.patch
>
>
> When I use the edismax query handler with qf=samenvatting and have a query of the form
> {noformat}
> a\:b AND cde
> {noformat}
> then the parsedquery ends up as:
> {noformat}
> (+(DisjunctionMaxQuery((samenvatting:"a b")) DisjunctionMaxQuery((samenvatting:and)) DisjunctionMaxQuery((samenvatting:cde))))/no_coord
> {noformat}
> note that the AND operator is ignored, and a search for the word AND is performed.
> As far as I've seen it doesn't matter if the part before the \: is a real field or not.
--
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org