

DocumentsWriterPerThread
- Namespace
- Rowles.LeanCorpus.Index.Indexer
- Assembly
- Rowles.LeanCorpus.dll
A per-thread document buffer for concurrent indexing. Each thread accumulates postings independently; the writer merges them on flush.
internal sealed class DocumentsWriterPerThread
DocumentsWriterPerThread
DocumentsWriterPerThread(IAnalyser, Dictionary<string, IAnalyser>)

BinaryDocValues

DocCount

DocTokenCounts

FieldNames

NumericDocValues

NumericIndex

Postings

SortedDocValues

SortedNumericDocValues

SortedSetDocValues

StoredDocStarts

StoredFieldIdToName

StoredFieldIds

StoredValues

Vectors
EstimatedRamBytes
Estimated RAM usage in bytes for this DWPT's buffers.
AddDocument(LeanDocument)
Indexes a single document into this thread's local buffer. Not thread-safe — each thread owns its own DWPT instance.

ClearAll()
Resets all buffers to empty state for reuse.