Class LongRangeDocValuesField

All Implemented Interfaces:
IndexableField

public class LongRangeDocValuesField extends BinaryDocValuesField
DocValues field for LongRange. This is a single valued field per document due to being an extension of BinaryDocValuesField.
  • Constructor Details

    • LongRangeDocValuesField

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

    • getMin

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

      public long getMax(int dimension)
      Get the maximum value for the given dimension.
    • newSlowIntersectsQuery

      public static Query newSlowIntersectsQuery(String field, long[] min, long[] 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: