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

Uwe Schindler updated LUCENE-1507:
----------------------------------

    Attachment: LUCENE-1507.patch

How about that patch? It just a static final for usage like this in filters:

{code}
if (shortcut condition) return DocIdSet.EMPTY_DOCIDSET
{code}

> adding EmptyDocIdSet/Iterator
> -----------------------------
>
>                 Key: LUCENE-1507
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1507
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: Search
>    Affects Versions: 2.4
>            Reporter: John Wang
>         Attachments: emptydocidset.txt, LUCENE-1507.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Adding convenience classes for EmptyDocIdSet and EmptyDocIdSetIterator

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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

Reply via email to