You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Gilles Delaby (JIRA)" <ji...@apache.org> on 2009/03/13 15:51:50 UTC
[jira] Created: (LUCENE-1562) Incorrect expression parsing when
default operator is QueryParser.AND_OPERATOR
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
[jira] Closed: (LUCENE-1562) Incorrect expression parsing when
default operator is QueryParser.AND_OPERATOR
Posted by "Gilles Delaby (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-1562?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gilles Delaby closed LUCENE-1562.
---------------------------------
Resolution: Invalid
Fix Version/s: 2.4.2
> 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, 2.4.1
> Reporter: Gilles Delaby
> Priority: Blocker
> Fix For: 2.4.2
>
>
> 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