lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gilles Delaby (JIRA)" <j...@apache.org>
Subject [jira] Created: (LUCENE-1562) Incorrect expression parsing when default operator is QueryParser.AND_OPERATOR
Date Fri, 13 Mar 2009 14:51:50 GMT
Incorrect expression parsing when default operator is QueryParser.AND_OPERATOR
------------------------------------------------------------------------------

                 Key: LUCENE-1562
                 URL: https://issues.apache.org/jira/browse/LUCENE-1562
             Project: Lucene - Java
          Issue Type: Bug
    Affects Versions: 2.4.1, 2.4
            Reporter: Gilles Delaby
            Priority: Blocker


When changing the default operator in QueryParser to QueryParser.AND_OPERATOR, I get an incorrect
expression when several words are specified in the search field.
 
In my case, I submit this to QueryParser.parse : 
fulltext:hello world

QueryParser sent me back :
+fulltext:hello +fulltext:hello world:world

If I don't change the default operator, everything goes right.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message