Class WAH8DocIdSet.Builder
Inheritance
WAH8DocIdSet.Builder
Assembly: Lucene.Net.dll
Syntax
public sealed class WAH8DocIdSet.Builder : WAH8DocIdSet.WordBuilder
Constructors
Builder()
Declaration
Methods
Add(DocIdSetIterator)
Declaration
public WAH8DocIdSet.Builder Add(DocIdSetIterator disi)
Parameters
Returns
Add(int)
Add a document to this builder. Documents must be added in order.
Declaration
public WAH8DocIdSet.Builder Add(int docID)
Parameters
Type |
Name |
Description |
int |
docID |
|
Returns
Build()
Declaration
public override WAH8DocIdSet Build()
Returns
Overrides
SetIndexInterval(int)
Set the index interval. Smaller index intervals improve performance of
Advance(int) but make the DocIdSet
larger. An index interval i
makes the index add an overhead
which is at most 4/i
, but likely much less. The default index
interval is 8
, meaning the index has an overhead of at most
50%. To disable indexing, you can pass MaxValue as an
index interval.
Declaration
public override object SetIndexInterval(int indexInterval)
Parameters
Type |
Name |
Description |
int |
indexInterval |
|
Returns
Overrides