Class PulsingPostingsWriter
Writer for the pulsing format.
Wraps another postings implementation and decides (based on total number of occurrences), whether a terms postings should be inlined into the term dictionary, or passed through to the wrapped writer.
@lucene.experimental
Inherited Members
Assembly: Lucene.Net.Codecs.dll
Syntax
public sealed class PulsingPostingsWriter : PostingsWriterBase, IDisposable
Constructors
Name | Description |
---|---|
PulsingPostingsWriter(SegmentWriteState, Int32, PostingsWriterBase) | If the total number of positions (summed across all docs
for this term) is less than or equal |
Methods
Name | Description |
---|---|
AddPosition(Int32, BytesRef, Int32, Int32) | |
Dispose(Boolean) | |
EncodeTerm(Int64[], DataOutput, FieldInfo, BlockTermState, Boolean) | |
FinishDoc() | |
FinishTerm(BlockTermState) | Called when we are done adding docs to this term. |
Init(IndexOutput) | |
NewTermState() | |
SetField(FieldInfo) | Currently, this instance is re-used across fields, so our parent calls setField whenever the field changes. |
StartDoc(Int32, Int32) | |
StartTerm() |