Uses of Class org.apache.lucene.search.LongValuesSource (Lucene 10.5.0 core API)
Description: use: package: org.apache.lucene.search, class: LongValuesSource

# 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

  Subclasses of LongValuesSource in org.apache.lucene.search
  Modifier and Type
  Class
  Description
  `static class`
  `LongValuesSource.ConstantLongValuesSource`
  A ConstantLongValuesSource that always returns a constant value
  Methods in org.apache.lucene.search that return LongValuesSource
  Modifier and Type
  Method
  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
  `LongValuesSource`
  LongValuesSource.ConstantLongValuesSource.`rewrite(IndexSearcher searcher)`
  `abstract LongValuesSource`
  LongValuesSource.`rewrite(IndexSearcher searcher)`
  Return a LongValuesSource specialised for the given IndexSearcher
  `final LongValuesSource`
  DoubleValuesSource.`toLongValuesSource()`
  Convert to a LongValuesSource by casting the double values to longs
  `final LongValuesSource`
  DoubleValuesSource.`toSortableLongDoubleValuesSource()`
  Convert to `LongValuesSource` by calling `NumericUtils.doubleToSortableLong(double)`