public static class PForDeltaDocIdSet.Builder extends Object
PForDeltaDocIdSet
.Constructor and Description |
---|
PForDeltaDocIdSet.Builder()
Sole constructor.
|
Modifier and Type | Method and Description |
---|---|
PForDeltaDocIdSet.Builder |
add(DocIdSetIterator it)
Convenience method to add the content of a
DocIdSetIterator to this builder. |
PForDeltaDocIdSet.Builder |
add(int doc)
Add a document to this builder.
|
PForDeltaDocIdSet |
build()
Build the
PForDeltaDocIdSet instance. |
PForDeltaDocIdSet.Builder |
setIndexInterval(int indexInterval)
Set the index interval.
|
public PForDeltaDocIdSet.Builder setIndexInterval(int indexInterval)
indexInterval
-th block will
be stored in the index. Set to Integer.MAX_VALUE
to disable indexing.public PForDeltaDocIdSet.Builder add(int doc)
public PForDeltaDocIdSet.Builder add(DocIdSetIterator it) throws IOException
DocIdSetIterator
to this builder.IOException
public PForDeltaDocIdSet build()
PForDeltaDocIdSet
instance.Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.