[jira] Updated: (LUCENE-25) QueryParser produces empty BooleanQueries when all clauses are stop words

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (LUCENE-25) QueryParser produces empty BooleanQueries when all clauses are stop words

JIRA jira@apache.org
     [ http://issues.apache.org/jira/browse/LUCENE-25?page=all ]

Hoss Man updated LUCENE-25:
---------------------------

        Summary: QueryParser produces empty BooleanQueries when all clauses are stop words  (was: [PATCH] StopFilter does not throw out parentheses)
    Bugzilla Id:   (was: 7574)
    Component/s: QueryParser
                     (was: Analysis)
       Assignee:     (was: Lucene Developers)

revising title/component to better reflect real problem

> QueryParser produces empty BooleanQueries when all clauses are stop words
> -------------------------------------------------------------------------
>
>                 Key: LUCENE-25
>                 URL: http://issues.apache.org/jira/browse/LUCENE-25
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: QueryParser
>    Affects Versions: 1.0.2
>         Environment: Operating System: All
> Platform: PC
>            Reporter: Puk Witte
>         Attachments: patch9.txt
>
>
> When I want to do the following query (example):
> (fieldx : xxxxx OR fieldy : xxxxxxxx)AND(fieldx : stopword OR fieldy : stopword)
> it will search (after passing the Analyzer including a StopFilter) for
> (fieldx : xxxxx OR fieldy : xxxxxx) AND() and give a wrong searchresult or a
> NullPointerException.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

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