[ 
https://issues.apache.org/jira/browse/LUCENE-1507?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12667523#action_12667523
 ] 

Yonik Seeley commented on LUCENE-1507:
--------------------------------------

Instead of adding another class, couldn't an application simply use a single 
SortedVIntList of size zero?  One could cache it and use it for all empty 
filters if space were really an issue (i.e. millions of filters).

> 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
>
>   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