Module org.elasticsearch.server
Class ES819Version3TSDBDocValuesFormat
java.lang.Object
org.apache.lucene.codecs.DocValuesFormat
org.elasticsearch.index.codec.tsdb.es819.ES819TSDBDocValuesFormat
org.elasticsearch.index.codec.tsdb.es819.ES819Version3TSDBDocValuesFormat
- All Implemented Interfaces:
org.apache.lucene.util.NamedSPILoader.NamedSPI
Version 3 of
ES819TSDBDocValuesFormat and has the following change:
- Changed how binary doc values encodes docOffsets from grouped vints to bitpacking
ES819TSDBDocValuesFormat.
However, codec versions don't work correctly in a mixed cluster or in stateless. There is no logic that prevents shards from
allocated with a new codec version to an older node that doesn't know about a new codec version. Only index versions prevent this
from happening.-
Constructor Summary
ConstructorsConstructorDescriptionES819Version3TSDBDocValuesFormat(boolean largeNumericBlock, boolean largeBinaryBlock, boolean writePrefixPartition) ES819Version3TSDBDocValuesFormat(int skipIndexIntervalSize, int minDocsPerOrdinalForRangeEncoding, boolean enableOptimizedMerge, BinaryDVCompressionMode binaryDVCompressionMode, boolean enablePerBlockCompression, int numericBlockShift, boolean writePrefixPartition) -
Method Summary
Methods inherited from class org.elasticsearch.index.codec.tsdb.es819.ES819TSDBDocValuesFormat
fieldsConsumer, fieldsProducer, getInstanceMethods inherited from class org.apache.lucene.codecs.DocValuesFormat
availableDocValuesFormats, forName, getName, reloadDocValuesFormats, toString
-
Constructor Details
-
ES819Version3TSDBDocValuesFormat
public ES819Version3TSDBDocValuesFormat() -
ES819Version3TSDBDocValuesFormat
public ES819Version3TSDBDocValuesFormat(boolean largeNumericBlock, boolean largeBinaryBlock, boolean writePrefixPartition) -
ES819Version3TSDBDocValuesFormat
public ES819Version3TSDBDocValuesFormat(int skipIndexIntervalSize, int minDocsPerOrdinalForRangeEncoding, boolean enableOptimizedMerge, BinaryDVCompressionMode binaryDVCompressionMode, boolean enablePerBlockCompression, int numericBlockShift, boolean writePrefixPartition)
-