Uses of Class
org.apache.lucene.search.LongValuesSource
-
Packages that use LongValuesSource Package Description org.apache.lucene.queries.function Queries that compute score based upon a function.org.apache.lucene.search Code to search indices.org.apache.lucene.search.suggest Support for Autocomplete/Autosuggest -
-
Uses of LongValuesSource in org.apache.lucene.queries.function
Subclasses of LongValuesSource in org.apache.lucene.queries.function Modifier and Type Class Description private static class
IndexReaderFunctions.NoCacheConstantLongValuesSource
private static class
IndexReaderFunctions.SumTotalTermFreqValuesSource
private static class
ValueSource.WrappedLongValuesSource
Fields in org.apache.lucene.queries.function declared as LongValuesSource Modifier and Type Field Description (package private) LongValuesSource
IndexReaderFunctions.NoCacheConstantLongValuesSource. parent
Methods in org.apache.lucene.queries.function that return LongValuesSource Modifier and Type Method Description LongValuesSource
ValueSource. asLongValuesSource()
Expose this ValueSource as a LongValuesSourceLongValuesSource
IndexReaderFunctions.NoCacheConstantLongValuesSource. rewrite(IndexSearcher reader)
LongValuesSource
IndexReaderFunctions.SumTotalTermFreqValuesSource. rewrite(IndexSearcher searcher)
LongValuesSource
ValueSource.WrappedLongValuesSource. rewrite(IndexSearcher searcher)
static LongValuesSource
IndexReaderFunctions. sumTotalTermFreq(java.lang.String field)
Creates a constant value source returning the sumTotalTermFreq for a fieldConstructors in org.apache.lucene.queries.function with parameters of type LongValuesSource Constructor Description NoCacheConstantLongValuesSource(long value, LongValuesSource parent)
-
Uses of LongValuesSource in org.apache.lucene.search
Subclasses of LongValuesSource in org.apache.lucene.search Modifier and Type Class Description private static class
DoubleValuesSource.LongDoubleValuesSource
private static class
LongValuesSource.ConstantLongValuesSource
private static class
LongValuesSource.FieldValuesSource
Fields in org.apache.lucene.search declared as LongValuesSource Modifier and Type Field Description private LongValuesSource
LongValuesSource.DoubleLongValuesSource. inner
private LongValuesSource
CoveringQuery.CoveringWeight. minimumNumberMatch
private LongValuesSource
CoveringQuery. minimumNumberMatch
private LongValuesSource
LongValuesSource.LongValuesComparatorSource. producer
(package private) LongValuesSource
LongValuesSource.LongValuesSortField. producer
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 valuestatic LongValuesSource
LongValuesSource. fromIntField(java.lang.String field)
Creates a LongValuesSource that wraps an int-valued fieldstatic LongValuesSource
LongValuesSource. fromLongField(java.lang.String field)
Creates a LongValuesSource that wraps a long-valued fieldLongValuesSource
DoubleValuesSource.LongDoubleValuesSource. rewrite(IndexSearcher searcher)
LongValuesSource
LongValuesSource.ConstantLongValuesSource. rewrite(IndexSearcher searcher)
LongValuesSource
LongValuesSource.FieldValuesSource. rewrite(IndexSearcher searcher)
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 longsConstructors in org.apache.lucene.search with parameters of type LongValuesSource Constructor Description CoveringQuery(java.util.Collection<Query> queries, LongValuesSource minimumNumberMatch)
Sole constructor.CoveringWeight(Query query, java.util.Collection<Weight> weights, LongValuesSource minimumNumberMatch)
DoubleLongValuesSource(LongValuesSource inner)
LongValuesComparatorSource(LongValuesSource producer)
LongValuesSortField(LongValuesSource producer, boolean reverse)
-
Uses of LongValuesSource in org.apache.lucene.search.suggest
Fields in org.apache.lucene.search.suggest declared as LongValuesSource Modifier and Type Field Description private LongValuesSource
DocumentValueSourceDictionary. weightsValueSource
Constructors in org.apache.lucene.search.suggest with parameters of type LongValuesSource Constructor Description DocumentValueSourceDictionary(IndexReader reader, java.lang.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, java.lang.String field, LongValuesSource weightsValueSource, java.lang.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, java.lang.String field, LongValuesSource weightsValueSource, java.lang.String payload, java.lang.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.
-