Class BytesRefsFromBinaryBlockLoader

java.lang.Object
org.elasticsearch.index.mapper.blockloader.docvalues.BlockDocValuesReader.DocValuesBlockLoader
org.elasticsearch.index.mapper.blockloader.docvalues.BytesRefsFromBinaryBlockLoader
All Implemented Interfaces:
BlockLoader

public class BytesRefsFromBinaryBlockLoader extends BlockDocValuesReader.DocValuesBlockLoader
This block loader should be used for fields that are directly encoded as binary values but are always single valued, such as the histogram fields. See also BytesRefsFromCustomBinaryBlockLoader for multivalued binary fields, and BytesRefsFromOrdsBlockLoader for ordinals-based binary values
  • Constructor Details

    • BytesRefsFromBinaryBlockLoader

      public BytesRefsFromBinaryBlockLoader(String fieldName)
    • BytesRefsFromBinaryBlockLoader

      public BytesRefsFromBinaryBlockLoader(org.apache.lucene.util.IOFunction<org.apache.lucene.index.LeafReaderContext,org.apache.lucene.index.BinaryDocValues> docValuesSupplier)
      Create a block loader from a BinaryDocValues supplier. This is useful when the doc values are not directly stored in a single field but are composed of multiple sources, as is the case for Pattern Text.
  • Method Details