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

Littlestar updated LUCENE-7200:
-------------------------------
    Priority: Minor  (was: Major)

> stop word/punctuation QueryParser error(return all records)
> -----------------------------------------------------------
>
>                 Key: LUCENE-7200
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7200
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: core/queryparser
>    Affects Versions: 4.10.4, 5.4.1
>            Reporter: Littlestar
>            Priority: Minor
>
> when user input some stop words or punctuation.
> It return all records??
> {code}
>   @Test
>     public void test01() throws ParseException {
>         QueryParser parser = new QueryParser("test", new CJKAnalyzer());
>         Query parse = parser.parse("test:hello AND (a)");
>         //Query parse = parser.parse("test:hello AND (;)");
>         System.out.println(parse.toString());
>     }
> {code}
> Does "test:hello AND (a)"  === "test:hello"
> thanks?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to