Class ES819TSDBDocValuesFormatFactory

java.lang.Object
org.elasticsearch.index.codec.tsdb.es819.ES819TSDBDocValuesFormatFactory

public final class ES819TSDBDocValuesFormatFactory extends Object
Factory class for creating instances of DocValuesFormat tailored for time-series use cases in relation to specific index versions and numeric block size preferences.
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.apache.lucene.codecs.DocValuesFormat
    createDocValuesFormat(IndexVersion indexCreatedVersion, boolean useLargeNumericBlockSize, boolean useLargeBinaryBlockSize, boolean writePrefixPartitions)
    Creates and returns a DocValuesFormat instance based on the specified index version and whether to use a large numeric block size.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • createDocValuesFormat

      public static org.apache.lucene.codecs.DocValuesFormat createDocValuesFormat(IndexVersion indexCreatedVersion, boolean useLargeNumericBlockSize, boolean useLargeBinaryBlockSize, boolean writePrefixPartitions)
      Creates and returns a DocValuesFormat instance based on the specified index version and whether to use a large numeric block size.
      Parameters:
      indexCreatedVersion - the version of the index being created, which determines the applicable DocValuesFormat version.
      useLargeNumericBlockSize - a boolean flag indicating whether to use a large numeric block size.
      useLargeBinaryBlockSize - a boolean flag indicating whether to use a large binary block size.
      writePrefixPartitions - a boolean flag indicating whether to write the prefix partition for the primary sort field
      Returns:
      the appropriate DocValuesFormat instance based on the index version and block size selection.