You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Lee Hinman (JIRA)" <ji...@apache.org> on 2015/02/26 22:10:05 UTC

[jira] [Created] (LUCENE-6304) Add MatchNoDocsQuery that matches no documents

Lee Hinman created LUCENE-6304:
----------------------------------

             Summary: Add MatchNoDocsQuery that matches no documents
                 Key: LUCENE-6304
                 URL: https://issues.apache.org/jira/browse/LUCENE-6304
             Project: Lucene - Core
          Issue Type: Improvement
          Components: core/search
    Affects Versions: 5.0
            Reporter: Lee Hinman
            Priority: Minor


As a followup to LUCENE-6298, it would be nice to have an explicit MatchNoDocsQuery to indicate that no documents should be matched. This would hopefully be a better indicator than a BooleanQuery with no clauses or (even worse) null.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org