[ 
https://issues.apache.org/jira/browse/LUCENE-3316?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Muir resolved LUCENE-3316.
---------------------------------

    Resolution: Not A Problem

if searching on "a" is important to you, then adjust your stopword set 
accordingly!

> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to