lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Rutherglen (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LUCENE-1476) BitVector implement DocIdSet
Date Mon, 08 Dec 2008 22:07:44 GMT

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

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

Wouldn't it be good to remove BitVector and replace it with OpenBitSet?  OBS is faster, has
the DocIdSetIterator already.  It just needs to implement write to disk compression of the
bitset (dgaps?).  This would be a big win for almost *all* searches.  We could also create
an interface so that any bitset implementation could be used.

Such as:
{code}
public interface WriteableBitSet {
 public void write(IndexOutput output) throws IOException;
}
{code}

> 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: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message