Constructor BlockTreeTermsWriter
BlockTreeTermsWriter(SegmentWriteState, PostingsWriterBase, Int32, Int32)
Create a new writer. The number of items (terms or
sub-blocks) per block will aim to be between
minItemsInBlock
and maxItemsInBlock
, though in some
cases the blocks may be smaller than the min.
Declaration
public BlockTreeTermsWriter(SegmentWriteState state, PostingsWriterBase postingsWriter, int minItemsInBlock, int maxItemsInBlock)
Parameters
Type | Name | Description |
---|---|---|
SegmentWriteState | state | |
PostingsWriterBase | postingsWriter | |
System.Int32 | minItemsInBlock | |
System.Int32 | maxItemsInBlock |