Package | Description |
---|---|
org.apache.lucene.codecs.compressing |
StoredFieldsFormat that allows cross-document and cross-field compression of stored fields.
|
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.
|
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.
|
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.