## Uses of Class
org.apache.lucene.codecs.compressing.CompressionMode

- Packages that use CompressionMode
  Package | Description
  --- | ---
  org.apache.lucene.codecs.compressing | StoredFieldsFormat that allows cross-document and cross-field compression of stored fields.

- - ### Uses of CompressionMode in org.apache.lucene.codecs.compressing

    Fields in org.apache.lucene.codecs.compressing declared as CompressionMode
    Modifier and Type | Field and Description
    --- | ---
    `static CompressionMode` | CompressionMode.`FAST` A compression mode that trades compression ratio for speed.
    `static CompressionMode` | CompressionMode.`FAST_DECOMPRESSION` This compression mode is similar to `FAST` but it spends more time compressing in order to improve the compression ratio.
    `static CompressionMode` | CompressionMode.`HIGH_COMPRESSION` A compression mode that trades speed for compression ratio.

    Constructors in org.apache.lucene.codecs.compressing with parameters of type CompressionMode
    Constructor and Description
    `CompressingStoredFieldsFormat(String formatName, CompressionMode compressionMode, int chunkSize, int maxDocsPerChunk, int blockShift)` Create a new `CompressingStoredFieldsFormat` with an empty segment suffix.
    `CompressingStoredFieldsFormat(String formatName, String segmentSuffix, CompressionMode compressionMode, int chunkSize, int maxDocsPerChunk, int blockShift)` Create a new `CompressingStoredFieldsFormat`.
    `CompressingStoredFieldsReader(Directory d, SegmentInfo si, String segmentSuffix, FieldInfos fn, IOContext context, String formatName, CompressionMode compressionMode)` Sole constructor.
    `CompressingTermVectorsFormat(String formatName, String segmentSuffix, CompressionMode compressionMode, int chunkSize, int blockSize)` Create a new `CompressingTermVectorsFormat`.
    `CompressingTermVectorsReader(Directory d, SegmentInfo si, String segmentSuffix, FieldInfos fn, IOContext context, String formatName, CompressionMode compressionMode)` Sole constructor.
    `CompressingTermVectorsWriter(Directory directory, SegmentInfo si, String segmentSuffix, IOContext context, String formatName, CompressionMode compressionMode, int chunkSize, int blockShift)` Sole constructor.

Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.