## Uses of Class
org.apache.lucene.search.DoubleValuesSource

- Packages that use DoubleValuesSource
  Package | Description
  --- | ---
  org.apache.lucene.search | Code to search indices.

- - ### Uses of DoubleValuesSource in org.apache.lucene.search

    Fields in org.apache.lucene.search declared as DoubleValuesSource
    Modifier and Type | Field and Description
    --- | ---
    `static DoubleValuesSource` | DoubleValuesSource.`SCORES` A DoubleValuesSource that exposes a document's score If this source is used as part of a values calculation, then callers must not pass `null` as the `DoubleValues` parameter on `getValues(LeafReaderContext, DoubleValues)`

    Methods in org.apache.lucene.search that return DoubleValuesSource
    Modifier and Type | Method and Description
    --- | ---
    `static DoubleValuesSource` | DoubleValuesSource.`constant(double value)` Creates a DoubleValuesSource that always returns a constant value
    `static DoubleValuesSource` | DoubleValuesSource.`fromDoubleField(String field)` Creates a DoubleValuesSource that wraps a double-valued field
    `static DoubleValuesSource` | DoubleValuesSource.`fromField(String field, LongToDoubleFunction decoder)` Creates a DoubleValuesSource that wraps a generic NumericDocValues field
    `static DoubleValuesSource` | DoubleValuesSource.`fromFloatField(String field)` Creates a DoubleValuesSource that wraps a float-valued field
    `static DoubleValuesSource` | DoubleValuesSource.`fromIntField(String field)` Creates a DoubleValuesSource that wraps an int-valued field
    `static DoubleValuesSource` | DoubleValuesSource.`fromLongField(String field)` Creates a DoubleValuesSource that wraps a long-valued field
    `static DoubleValuesSource` | DoubleValuesSource.`function(DoubleValuesSource in, DoubleUnaryOperator function)` Creates a DoubleValuesSource that is a function of another DoubleValuesSource
    `static DoubleValuesSource` | DoubleValuesSource.`scoringFunction(DoubleValuesSource in, ToDoubleBiFunction<Double,Double> function)` Creates a DoubleValuesSource that is a function of another DoubleValuesSource and a score

    Methods in org.apache.lucene.search with parameters of type DoubleValuesSource
    Modifier and Type | Method and Description
    --- | ---
    `static DoubleValuesSource` | DoubleValuesSource.`function(DoubleValuesSource in, DoubleUnaryOperator function)` Creates a DoubleValuesSource that is a function of another DoubleValuesSource
    `static DoubleValuesSource` | DoubleValuesSource.`scoringFunction(DoubleValuesSource in, ToDoubleBiFunction<Double,Double> function)` Creates a DoubleValuesSource that is a function of another DoubleValuesSource and a score

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