Class DoubleRangeDocValuesField

  • All Implemented Interfaces:
    IndexableField

    public class DoubleRangeDocValuesField
    extends BinaryDocValuesField
    DocValues field for DoubleRange. This is a single valued field i.e. can have only one value per document due to being an extension of BinaryDocValuesField.
    • Constructor Detail

      • DoubleRangeDocValuesField

        public DoubleRangeDocValuesField​(String field,
                                         double[] min,
                                         double[] max)
        Sole constructor.
    • Method Detail

      • getMin

        public double getMin​(int dimension)
        Get the minimum value for the given dimension.
      • getMax

        public double getMax​(int dimension)
        Get the maximum value for the given dimension.