Uses of Class
org.apache.lucene.search.LongValuesSource
Packages that use LongValuesSource
Package
Description
Queries that compute score based upon a function.
This package contains a flexible graph-based proximity query, TermAutomatonQuery, and geospatial
queries.
Code to search indices.
Grouping.
Support for Autocomplete/Autosuggest
-
Uses of LongValuesSource in org.apache.lucene.queries.function
Subclasses of LongValuesSource in org.apache.lucene.queries.functionModifier and TypeClassDescriptionprivate static class
private static class
private static class
Fields in org.apache.lucene.queries.function declared as LongValuesSourceModifier and TypeFieldDescription(package private) final LongValuesSource
IndexReaderFunctions.NoCacheConstantLongValuesSource.parent
Methods in org.apache.lucene.queries.function that return LongValuesSourceModifier and TypeMethodDescriptionValueSource.asLongValuesSource()
Expose this ValueSource as a LongValuesSourceIndexReaderFunctions.NoCacheConstantLongValuesSource.rewrite
(IndexSearcher reader) IndexReaderFunctions.SumTotalTermFreqValuesSource.rewrite
(IndexSearcher searcher) ValueSource.WrappedLongValuesSource.rewrite
(IndexSearcher searcher) static LongValuesSource
IndexReaderFunctions.sumTotalTermFreq
(String field) Creates a constant value source returning the sumTotalTermFreq for a fieldConstructors in org.apache.lucene.queries.function with parameters of type LongValuesSourceModifierConstructorDescriptionprivate
NoCacheConstantLongValuesSource
(long value, LongValuesSource parent) -
Uses of LongValuesSource in org.apache.lucene.sandbox.search
Fields in org.apache.lucene.sandbox.search declared as LongValuesSourceModifier and TypeFieldDescriptionprivate final LongValuesSource
CoveringQuery.CoveringWeight.minimumNumberMatch
private final LongValuesSource
CoveringQuery.minimumNumberMatch
Constructors in org.apache.lucene.sandbox.search with parameters of type LongValuesSourceModifierConstructorDescriptionCoveringQuery
(Collection<Query> queries, LongValuesSource minimumNumberMatch) Sole constructor.(package private)
CoveringWeight
(Query query, Collection<Weight> weights, LongValuesSource minimumNumberMatch) -
Uses of LongValuesSource in org.apache.lucene.search
Subclasses of LongValuesSource in org.apache.lucene.searchModifier and TypeClassDescriptionprivate static class
static class
A ConstantLongValuesSource that always returns a constant valueprivate static class
Fields in org.apache.lucene.search declared as LongValuesSourceModifier and TypeFieldDescriptionprivate final LongValuesSource
LongValuesSource.DoubleLongValuesSource.inner
private final LongValuesSource
LongValuesSource.LongValuesComparatorSource.producer
(package private) final LongValuesSource
LongValuesSource.LongValuesSortField.producer
Methods in org.apache.lucene.search that return LongValuesSourceModifier and TypeMethodDescriptionstatic LongValuesSource
LongValuesSource.constant
(long value) Creates a LongValuesSource that always returns a constant valuestatic LongValuesSource
LongValuesSource.fromIntField
(String field) Creates a LongValuesSource that wraps an int-valued fieldstatic LongValuesSource
LongValuesSource.fromLongField
(String field) Creates a LongValuesSource that wraps a long-valued fieldDoubleValuesSource.LongDoubleValuesSource.rewrite
(IndexSearcher searcher) LongValuesSource.ConstantLongValuesSource.rewrite
(IndexSearcher searcher) LongValuesSource.FieldValuesSource.rewrite
(IndexSearcher searcher) abstract LongValuesSource
LongValuesSource.rewrite
(IndexSearcher searcher) Return a LongValuesSource specialised for the given IndexSearcherfinal LongValuesSource
DoubleValuesSource.toLongValuesSource()
Convert to a LongValuesSource by casting the double values to longsConstructors in org.apache.lucene.search with parameters of type LongValuesSourceModifierConstructorDescriptionprivate
LongValuesComparatorSource
(LongValuesSource producer) LongValuesSortField
(LongValuesSource producer, boolean reverse) -
Uses of LongValuesSource in org.apache.lucene.search.grouping
Fields in org.apache.lucene.search.grouping declared as LongValuesSourceConstructors in org.apache.lucene.search.grouping with parameters of type LongValuesSourceModifierConstructorDescriptionLongRangeGroupSelector
(LongValuesSource source, LongRangeFactory rangeFactory) Creates a new LongRangeGroupSelector -
Uses of LongValuesSource in org.apache.lucene.search.suggest
Fields in org.apache.lucene.search.suggest declared as LongValuesSourceModifier and TypeFieldDescriptionprivate final LongValuesSource
DocumentValueSourceDictionary.weightsValueSource
Constructors in org.apache.lucene.search.suggest with parameters of type LongValuesSourceModifierConstructorDescriptionDocumentValueSourceDictionary
(IndexReader reader, String field, LongValuesSource weightsValueSource) Creates a new dictionary with the contents of the fields namedfield
for the terms and uses theweightsValueSource
supplied to determine the score.DocumentValueSourceDictionary
(IndexReader reader, String field, LongValuesSource weightsValueSource, String payload) Creates a new dictionary with the contents of the fields namedfield
for the terms,payloadField
for the corresponding payloads and uses theweightsValueSource
supplied to determine the score.DocumentValueSourceDictionary
(IndexReader reader, String field, LongValuesSource weightsValueSource, String payload, String contexts) Creates a new dictionary with the contents of the fields namedfield
for the terms,payload
for the corresponding payloads,contexts
for the associated contexts and uses theweightsValueSource
supplied to determine the score.