Class CompressingStoredFieldsFormat
A StoredFieldsFormat that is very similar to Lucene40StoredFieldsFormat but compresses documents in chunks in order to improve the compression ratio.
For a chunk size of chunkSize
bytes, this StoredFieldsFormat
does not support documents larger than (231 - chunkSize
)
bytes. In case this is a problem, you should use another format, such as
Lucene40StoredFieldsFormat.
For optimal performance, you should use a MergePolicy that returns segments that have the biggest byte size first.
@lucene.experimental
Assembly: DistributedLucene.Net.dll
Syntax
public class CompressingStoredFieldsFormat : StoredFieldsFormat
Constructors
Name | Description |
---|---|
CompressingStoredFieldsFormat(String, CompressionMode, Int32) | Create a new CompressingStoredFieldsFormat with an empty segment suffix. |
CompressingStoredFieldsFormat(String, String, CompressionMode, Int32) | Create a new CompressingStoredFieldsFormat.
The
Higher values of |
Methods
Name | Description |
---|---|
FieldsReader(Directory, SegmentInfo, FieldInfos, IOContext) | |
FieldsWriter(Directory, SegmentInfo, IOContext) | |
ToString() |