com.browseengine.bobo.docidset
Class BitsetDocSet

java.lang.Object
  extended by org.apache.lucene.search.DocIdSet
      extended by com.browseengine.bobo.docidset.BitsetDocSet

public class BitsetDocSet
extends org.apache.lucene.search.DocIdSet


Field Summary
 
Fields inherited from class org.apache.lucene.search.DocIdSet
EMPTY_DOCIDSET
 
Constructor Summary
BitsetDocSet()
           
BitsetDocSet(int nbits)
           
 
Method Summary
 void addDoc(int docid)
           
 org.apache.lucene.search.DocIdSetIterator iterator()
           
 int size()
           
 
Methods inherited from class org.apache.lucene.search.DocIdSet
isCacheable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BitsetDocSet

public BitsetDocSet()

BitsetDocSet

public BitsetDocSet(int nbits)
Method Detail

addDoc

public void addDoc(int docid)

size

public int size()

iterator

public org.apache.lucene.search.DocIdSetIterator iterator()
Specified by:
iterator in class org.apache.lucene.search.DocIdSet


Copyright © 2011. All Rights Reserved.