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