public class AllDocIdSet
extends org.apache.lucene.search.DocIdSet
DocIdSet
that matches all docs up to a maxDoc
.Modifier and Type | Class and Description |
---|---|
static class |
AllDocIdSet.Iterator |
Constructor and Description |
---|
AllDocIdSet(int maxDoc) |
Modifier and Type | Method and Description |
---|---|
org.apache.lucene.util.Bits |
bits() |
boolean |
isCacheable()
Does not go to the reader and ask for data, so can be cached.
|
org.apache.lucene.search.DocIdSetIterator |
iterator() |
long |
ramBytesUsed() |
public boolean isCacheable()
isCacheable
in class org.apache.lucene.search.DocIdSet
public long ramBytesUsed()
ramBytesUsed
in interface org.apache.lucene.util.Accountable
ramBytesUsed
in class org.apache.lucene.search.DocIdSet
public org.apache.lucene.search.DocIdSetIterator iterator() throws IOException
iterator
in class org.apache.lucene.search.DocIdSet
IOException
public org.apache.lucene.util.Bits bits() throws IOException
bits
in class org.apache.lucene.search.DocIdSet
IOException
Copyright © 2009–2015. All rights reserved.