You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Hoss Man (JIRA)" <ji...@apache.org> on 2006/08/30 19:58:24 UTC

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

     [ 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: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org