Table of Contents

Internal classSealedInternal StoredFieldsStreamWriter

Namespace
Rowles.LeanCorpus.Codecs.StoredFields
Assembly
Rowles.LeanCorpus.dll

Streaming variant of StoredFieldsWriter for the merge path. Documents are added one at a time and flushed in 16-doc blocks so that at most a single block sits in RAM rather than the whole merged segment.

internal sealed class StoredFieldsStreamWriter : IDisposable
StoredFieldsStreamWriter

Constructors

Internal constructorInternal StoredFieldsStreamWriter(string, string, int, FieldCompressionPolicy)

Methods

Internal methodInternal AddDocument(IReadOnlyDictionary<string, IReadOnlyList<string>>)
Public method Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.