Example usage for Java org.apache.lucene.util DocIdSetBuilder fields, constructors, methods, implement or subclass
The text is from its open source code.
DocIdSetBuilder(int maxDoc) Create a builder that can contain doc IDs between 0 and maxDoc . | |
DocIdSetBuilder(int maxDoc, PointValues values, String field) Create a DocIdSetBuilder instance that is optimized for accumulating docs that match the given PointValues . | |
DocIdSetBuilder(int maxDoc, int docCount, long valueCount) | |
DocIdSetBuilder(int maxDoc, Terms terms) Create a DocIdSetBuilder instance that is optimized for accumulating docs that match the given Terms . |
void | add(DocIdSetIterator iter) Add the content of the provided DocIdSetIterator to this builder. |
DocIdSet | build() Build a DocIdSet from the accumulated doc IDs. |
BulkAdder | grow(int numDocs) Reserve space and return a BulkAdder object that can be used to add up to numDocs documents. |