Class CompressingTermVectorsFormat
A TermVectorsFormat that compresses chunks of documents together in
order to improve the compression ratio.
@lucene.experimental
Inheritance
System.Object
CompressingTermVectorsFormat
Assembly: DistributedLucene.Net.dll
public class CompressingTermVectorsFormat : TermVectorsFormat
Constructors
Name |
Description |
CompressingTermVectorsFormat(String, String, CompressionMode, Int32)
|
Create a new CompressingTermVectorsFormat.
formatName is the name of the format. this name will be used
in the file formats to perform
codec header checks (CheckHeader(DataInput, String, Int32, Int32)).
The compressionMode parameter allows you to choose between
compression algorithms that have various compression and decompression
speeds so that you can pick the one that best fits your indexing and
searching throughput. You should never instantiate two
CompressingTermVectorsFormats that have the same name but
different CompressionModes.
chunkSize is the minimum byte size of a chunk of documents.
Higher values of chunkSize should improve the compression
ratio but will require more memory at indexing time and might make document
loading a little slower (depending on the size of your OS cache compared
to the size of your index).
|
Methods
Extension Methods