Class PForDeltaDocIdSet.Builder
A builder for PForDeltaDocIdSet.
Inheritance
System.Object
PForDeltaDocIdSet.Builder
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Lucene.Net.Util
Assembly: Lucene.Net.dll
Syntax
public class Builder
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 DocIdSetIterator to this builder.
Declaration
public virtual PForDeltaDocIdSet.Builder Add(DocIdSetIterator it)
Parameters
Type | Name | Description |
---|---|---|
DocIdSetIterator | it |
Returns
Type | Description |
---|---|
PForDeltaDocIdSet.Builder |
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.Int32 | doc |
Returns
Type | Description |
---|---|
PForDeltaDocIdSet.Builder |
Build()
Build the PForDeltaDocIdSet instance.
Declaration
public virtual PForDeltaDocIdSet Build()
Returns
Type | Description |
---|---|
PForDeltaDocIdSet |
SetIndexInterval(Int32)
Set the index interval. Every indexInterval
-th block will
be stored in the index. Set to System.Int32.MaxValue to disable indexing.
Declaration
public virtual PForDeltaDocIdSet.Builder SetIndexInterval(int indexInterval)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | indexInterval |
Returns
Type | Description |
---|---|
PForDeltaDocIdSet.Builder |