You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael McCandless (Commented) (JIRA)" <ji...@apache.org> on 2011/12/21 11:53:30 UTC

[jira] [Commented] (LUCENE-3661) move deletes under codec

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

Michael McCandless commented on LUCENE-3661:
--------------------------------------------

This sounds like a great plan!  So then the use of BitVector is an impl detail to the codec...
                
> move deletes under codec
> ------------------------
>
>                 Key: LUCENE-3661
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3661
>             Project: Lucene - Java
>          Issue Type: Task
>    Affects Versions: 4.0
>            Reporter: Robert Muir
>
> After LUCENE-3631, this should be easier I think.
> I haven't looked at it much myself but i'll play around a bit, but at a glance:
> * SegmentReader to have Bits liveDocs instead of BitVector
> * address the TODO in the IW-using ctors so that SegmentReader doesn't take a parent but just an existing core.
> * we need some type of minimal "MutableBits" or similar subinterface of bits. BitVector and maybe Fixed/OpenBitSet could implement it
> * BitVector becomes an impl detail and moves to codec (maybe we have a shared base class and split the 3.x/4.x up rather than the conditional backwards)
> * I think the invertAll should not be used by IndexWriter, instead we define the codec interface to say "give me a new MutableBits, by default all are set" ?
> * redundant internally-consistent checks in checkLiveCounts should be done in the codec impl instead of in SegmentReader.
> * plain text impl in SimpleText.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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