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

Packages that use CompressionMode
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
`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 blockSize)` Create a new `CompressingStoredFieldsFormat` with an empty segment suffix.
`CompressingStoredFieldsFormat(String formatName, String segmentSuffix, CompressionMode compressionMode, int chunkSize, int maxDocsPerChunk, int blockSize)` Create a new `CompressingStoredFieldsFormat`.
`CompressingStoredFieldsReader(Directory d, SegmentInfo si, String segmentSuffix, FieldInfos fn, IOContext context, String formatName, CompressionMode compressionMode)` Sole constructor.
`CompressingStoredFieldsWriter(Directory directory, SegmentInfo si, String segmentSuffix, IOContext context, String formatName, CompressionMode compressionMode, int chunkSize, int maxDocsPerChunk, int blockSize)` 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 blockSize)` Sole constructor.