Class PForDeltaDocIdSet.Builder
A builder for PFor
Inheritance
System.Object
PForDeltaDocIdSet.Builder
Namespace: Lucene.Net.Util
Assembly: Lucene.Net.dll
Syntax
public class Builder : object
Constructors
| Improve this Doc View SourceBuilder()
Sole constructor.
Declaration
public Builder()
Methods
| Improve this Doc View SourceAdd(DocIdSetIterator)
Convenience method to add the content of a Doc
Declaration
public virtual PForDeltaDocIdSet.Builder Add(DocIdSetIterator it)
Parameters
Type | Name | Description |
---|---|---|
Doc |
it |
Returns
Type | Description |
---|---|
PFor |
Add(Int32)
Add a document to this builder. Documents must be added in order.
Declaration
public virtual PForDeltaDocIdSet.Builder Add(int doc)
Parameters
Type | Name | Description |
---|---|---|
System. |
doc |
Returns
Type | Description |
---|---|
PFor |
Build()
Build the PFor
Declaration
public virtual PForDeltaDocIdSet Build()
Returns
Type | Description |
---|---|
PFor |
SetIndexInterval(Int32)
Set the index interval. Every indexInterval
-th block will
be stored in the index. Set to
Declaration
public virtual PForDeltaDocIdSet.Builder SetIndexInterval(int indexInterval)
Parameters
Type | Name | Description |
---|---|---|
System. |
indexInterval |
Returns
Type | Description |
---|---|
PFor |