org.apache.lucene.document

## Class DoublePointMultiRangeBuilder

- java.lang.Object
- - org.apache.lucene.search.MultiRangeQuery.Builder
  - - org.apache.lucene.document.DoublePointMultiRangeBuilder

-     public class DoublePointMultiRangeBuilder
      extends MultiRangeQuery.Builder

  Builder for multi range queries for DoublePoints

- - ### Field Summary

    - ### Fields inherited from class org.apache.lucene.search.MultiRangeQuery.Builder

      `bytesPerDim, clauses, field, numDims`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `DoublePointMultiRangeBuilder(String field, int numDims)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `add(double[] lowerValue, double[] upperValue)`
    `MultiRangeQuery` | `build()` Create a new `MultiRangeQuery` based on the parameters that have been set on this builder.

    - ### Methods inherited from class org.apache.lucene.search.MultiRangeQuery.Builder

      `add, add`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### DoublePointMultiRangeBuilder

          public DoublePointMultiRangeBuilder(String field,
                                              int numDims)

  - ### Method Detail

    - #### build

          public MultiRangeQuery build()

      Description copied from class: `MultiRangeQuery.Builder`
      Create a new `MultiRangeQuery` based on the parameters that have been set on this builder.
      Specified by:
        `build` in class `MultiRangeQuery.Builder`

    - #### add

          public void add(double[] lowerValue,
                          double[] upperValue)

Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.