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

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

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

    Methods in org.apache.lucene.search that return LongValuesSource
    Modifier and Type | Method and Description
    --- | ---
    `static LongValuesSource` | LongValuesSource.`constant(long value)` Creates a LongValuesSource that always returns a constant value
    `static LongValuesSource` | LongValuesSource.`fromIntField(String field)` Creates a LongValuesSource that wraps an int-valued field
    `static LongValuesSource` | LongValuesSource.`fromLongField(String field)` Creates a LongValuesSource that wraps a long-valued field
    `abstract LongValuesSource` | LongValuesSource.`rewrite(IndexSearcher searcher)` Return a LongValuesSource specialised for the given IndexSearcher Implementations should assume that this will only be called once.
    `LongValuesSource` | DoubleValuesSource.`toLongValuesSource()` Convert to a LongValuesSource by casting the double values to longs

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