org.elasticsearch.common.lucene.docset
Class OpenBitDocSet
java.lang.Object
org.apache.lucene.search.DocIdSet
org.elasticsearch.common.lucene.docset.DocSet
org.elasticsearch.common.lucene.docset.OpenBitDocSet
public class OpenBitDocSet
- extends DocSet
Fields inherited from class org.apache.lucene.search.DocIdSet |
EMPTY_DOCIDSET |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OpenBitDocSet
public OpenBitDocSet(org.apache.lucene.util.OpenBitSet set)
OpenBitDocSet
public OpenBitDocSet(int numBits)
OpenBitDocSet
public OpenBitDocSet(org.apache.lucene.search.DocIdSetIterator disi,
int numBits)
throws java.io.IOException
- Throws:
java.io.IOException
isCacheable
public boolean isCacheable()
- Overrides:
isCacheable
in class org.apache.lucene.search.DocIdSet
set
public org.apache.lucene.util.OpenBitSet set()
get
public boolean get(int doc)
throws java.io.IOException
- Specified by:
get
in class DocSet
- Throws:
java.io.IOException
iterator
public org.apache.lucene.search.DocIdSetIterator iterator()
throws java.io.IOException
- Specified by:
iterator
in class org.apache.lucene.search.DocIdSet
- Throws:
java.io.IOException
sizeInBytes
public long sizeInBytes()
- Specified by:
sizeInBytes
in class DocSet