Uses of Class org.apache.lucene.codecs.compressing.CompressionMode (Lucene 10.5.1 core API)
Description: use: package: org.apache.lucene.codecs.compressing, class: CompressionMode

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

Packages that use CompressionMode
Package
Description
org.apache.lucene.codecs.compressing
Compressing helper classes.
org.apache.lucene.codecs.lucene90
Lucene 9.0 file format.
org.apache.lucene.codecs.lucene90.compressing
Lucene 9.0 compressing format.

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

  Fields in org.apache.lucene.codecs.compressing declared as CompressionMode
  Modifier and Type
  Field
  Description
  `static final CompressionMode`
  CompressionMode.`FAST`
  A compression mode that trades compression ratio for speed.
  `static final 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 final CompressionMode`
  CompressionMode.`HIGH_COMPRESSION`
  A compression mode that trades speed for compression ratio.

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

  Subclasses of CompressionMode in org.apache.lucene.codecs.lucene90
  Modifier and Type
  Class
  Description
  `final class`
  `DeflateWithPresetDictCompressionMode`
  A compression mode that trades speed for compression ratio.
  `final class`
  `LZ4WithPresetDictCompressionMode`
  A compression mode that compromises on the compression ratio to provide fast compression and decompression.
  Fields in org.apache.lucene.codecs.lucene90 declared as CompressionMode
  Modifier and Type
  Field
  Description
  `static final CompressionMode`
  Lucene90StoredFieldsFormat.`BEST_COMPRESSION_MODE`
  Compression mode for `Lucene90StoredFieldsFormat.Mode.BEST_COMPRESSION`
  `static final CompressionMode`
  Lucene90StoredFieldsFormat.`BEST_SPEED_MODE`
  Compression mode for `Lucene90StoredFieldsFormat.Mode.BEST_SPEED`

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

  Constructors in org.apache.lucene.codecs.lucene90.compressing with parameters of type CompressionMode
  Modifier
  Constructor
  Description
  ``
  `Lucene90CompressingStoredFieldsFormat(String formatName, String segmentSuffix, CompressionMode compressionMode, int chunkSize, int maxDocsPerChunk, int blockShift)`
  Create a new `Lucene90CompressingStoredFieldsFormat`.
  ``
  `Lucene90CompressingStoredFieldsFormat(String formatName, CompressionMode compressionMode, int chunkSize, int maxDocsPerChunk, int blockShift)`
  Create a new `Lucene90CompressingStoredFieldsFormat` with an empty segment suffix.
  ``
  `Lucene90CompressingStoredFieldsReader(Directory d, SegmentInfo si, String segmentSuffix, FieldInfos fn, IOContext context, String formatName, CompressionMode compressionMode)`
  Sole constructor.
  ``
  `Lucene90CompressingTermVectorsFormat(String formatName, String segmentSuffix, CompressionMode compressionMode, int chunkSize, int maxDocsPerChunk, int blockSize)`
  Create a new `Lucene90CompressingTermVectorsFormat`.
  ``
  `Lucene90CompressingTermVectorsReader(Directory d, SegmentInfo si, String segmentSuffix, FieldInfos fn, IOContext context, String formatName, CompressionMode compressionMode)`
  Sole constructor.