[ 
https://issues.apache.org/jira/browse/LUCENE-3316?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13065874#comment-13065874
 ] 

Woelfle commented on LUCENE-3316:
---------------------------------

Great, thanks for the tip. I was not aware of the 'stopword' feature.

> QueryParser fails when parsing input "type:A"
> ---------------------------------------------
>
>                 Key: LUCENE-3316
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3316
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: core/queryparser
>    Affects Versions: 3.1
>            Reporter: Woelfle
>
> When parsing the input string "type:A AND type:B" the QueryParser returns a 
> Query only for "type:B"
> This can be reproduced with following code:
> StandardAnalyzer analyzer = new StandardAnalyzer(Version.LUCENE_31);
> QueryParser parser = new QueryParser(LuceneHelper.LUCENE_VERSION, "title", 
> analyzer);
> Query query = parser.parse("type:A AND type:B");
> System.out.println(query);

--
This message is automatically generated by JIRA.
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