Robert J. van der Boon created SOLR-4333:
--------------------------------------------

             Summary: 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


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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to