Method SetIndexInterval
SetIndexInterval(Int32)
Set the index interval. Smaller index intervals improve performance of
Advance(Int32) 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 as an
index interval.
Declaration
public virtual object SetIndexInterval(int indexInterval)
Parameters
Type |
Name |
Description |
System.Int32 |
indexInterval |
|
Returns
Type |
Description |
System.Object |
|