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

Jason Rutherglen commented on LUCENE-1476:
------------------------------------------

BitVector does not implement the methods of java.util.BitSet.  RABitSet could 
be implemented by OpenBitSet and BitVector.  This way an OpenBitSet or another 
filter such as P4Delta could be used in place of BitVector in SegmentReader.  

The IndexReader.flush type of methods would need to either automatically not 
save, throw an exception, and there needs to be a setting.  This helps the 
synchronization issue in SegmentReader.isDeleted by allowing access to it.  

> BitVector implement DocIdSet
> ----------------------------
>
>                 Key: LUCENE-1476
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1476
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: Index
>    Affects Versions: 2.4
>            Reporter: Jason Rutherglen
>            Priority: Trivial
>         Attachments: LUCENE-1476.patch
>
>   Original Estimate: 12h
>  Remaining Estimate: 12h
>
> BitVector can implement DocIdSet.  This is for making 
> SegmentReader.deletedDocs pluggable.

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to