lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eks dev <>
Subject Re: [jira] Updated: (LUCENE-584) Decouple Filter from BitSet
Date Wed, 06 Sep 2006 10:33:33 GMT

"Keep in mind that BitSetIterator is fast for iteration over all it's bits.
If it's used as a filter (with skipping), I would expect it to be slower."

still, DenseBitsMatcher (BitSetIterator warpped in Matcher) works faster than anything else
for this case:

 int skip(Matcher m) throws IOException{
     int doc=-1, ret = 0; 
        doc = m.doc(); 
     return ret;

for sparse bit sets, VInt thingy works the best 

View raw message