Class CompressingStoredFieldsFormat


  • public class CompressingStoredFieldsFormat
    extends StoredFieldsFormat
    A StoredFieldsFormat that 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.

    For optimal performance, you should use a MergePolicy that returns segments that have the biggest byte size first.

    WARNING: This API is experimental and might change in incompatible ways in the next release.