Class DocValuesNumbersQuery

  • All Implemented Interfaces:
    Accountable

    public class DocValuesNumbersQuery
    extends Query
    implements Accountable
    Like DocValuesTermsQuery, but this query only runs on a long NumericDocValuesField or a SortedNumericDocValuesField, matching all documents whose value in the specified field is contained in the provided set of long values.

    NOTE: be very careful using this query: it is typically much slower than using TermsQuery, but in certain specialized cases may be faster.

    WARNING: This API is experimental and might change in incompatible ways in the next release.