Table of Contents

Internal classSealedInternal DocumentsWriterPerThread

Namespace
Rowles.LeanLucene.Index.Indexer
Assembly
Rowles.LeanLucene.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

Public constructor DocumentsWriterPerThread(IAnalyser, Dictionary<string, IAnalyser>)

Internal fieldInternal DocCount

Internal fieldInternal DocTokenCounts

Internal fieldInternal FieldNames

Internal fieldInternal NumericDocValues

Internal fieldInternal NumericIndex

Internal fieldInternal Postings

Internal fieldInternal SortedDocValues

Internal fieldInternal StoredFields

Public property EstimatedRamBytes

Estimated RAM usage in bytes for this DWPT's buffers.

Public method AddDocument(LeanDocument)

Indexes a single document into this thread's local buffer. Not thread-safe — each thread owns its own DWPT instance.