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 Details

    • DoubleRangeDocValuesField

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

    • 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.
    • newSlowIntersectsQuery

      public static Query newSlowIntersectsQuery(String field, double[] min, double[] max)
      Create a new range query that finds all ranges that intersect using doc values. NOTE: This doesn't leverage indexing and may be slow.
      See Also: