## 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.
  org.apache.lucene.codecs.lucene87 | Lucene 8.7 file format.

- - ### 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 maxDocsPerChunk, int blockSize)` Create a new `CompressingTermVectorsFormat`.
    `CompressingTermVectorsReader(Directory d, SegmentInfo si, String segmentSuffix, FieldInfos fn, IOContext context, String formatName, CompressionMode compressionMode)` Sole constructor.

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

    Subclasses of CompressionMode in org.apache.lucene.codecs.lucene87
    Modifier and Type | Class and Description
    --- | ---
    `class` | `DeflateWithPresetDictCompressionMode` A compression mode that trades speed for compression ratio.
    `class` | `LZ4WithPresetDictCompressionMode` A compression mode that compromises on the compression ratio to provide fast compression and decompression.

    Fields in org.apache.lucene.codecs.lucene87 declared as CompressionMode
    Modifier and Type | Field and Description
    --- | ---
    `static CompressionMode` | Lucene87StoredFieldsFormat.`BEST_COMPRESSION_MODE` Compression mode for `Lucene87StoredFieldsFormat.Mode.BEST_COMPRESSION`
    `static CompressionMode` | Lucene87StoredFieldsFormat.`BEST_SPEED_MODE` Compression mode for `Lucene87StoredFieldsFormat.Mode.BEST_SPEED`

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