Uses of Class
org.apache.lucene.search.LongValuesSource
Packages that use LongValuesSource
Package
Description
Faceted search.
Provides range faceting capabilities.
Queries that compute score based upon a function.
Sandbox faceting: Range Faceting
Sandbox faceting: classes that can record per ordinal data E.g.
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.facet
Fields in org.apache.lucene.facet declared as LongValuesSourceModifier and TypeFieldDescriptionprivate final LongValuesSource
MultiLongValuesSource.SingleValuedAsMultiValued.in
Methods in org.apache.lucene.facet that return LongValuesSourceModifier and TypeMethodDescriptionstatic LongValuesSource
MultiLongValuesSource.unwrapSingleton
(MultiLongValuesSource in) Returns a single-valued view of theMultiLongValuesSource
if it was previously wrapped withMultiLongValuesSource.fromSingleValued(LongValuesSource)
, or null.Methods in org.apache.lucene.facet with parameters of type LongValuesSourceModifier and TypeMethodDescriptionprivate void
LongValueFacetCounts.count
(LongValuesSource valueSource, List<FacetsCollector.MatchingDocs> matchingDocs) Counts from the provided valueSource.private void
LongValueFacetCounts.countAll
(IndexReader reader, LongValuesSource valueSource) Count everything in the provided valueSource.static MultiLongValuesSource
MultiLongValuesSource.fromSingleValued
(LongValuesSource singleValued) Creates a MultiLongValuesSource that wraps a single-valuedLongValuesSource
Constructors in org.apache.lucene.facet with parameters of type LongValuesSourceModifierConstructorDescriptionLongValueFacetCounts
(String field, LongValuesSource valueSource, FacetsCollector hits) CreateLongValueFacetCounts
, using the providedLongValuesSource
if non-null.LongValueFacetCounts
(String field, LongValuesSource valueSource, IndexReader reader) Counts all facet values for the providedLongValuesSource
if non-null.(package private)
-
Uses of LongValuesSource in org.apache.lucene.facet.range
Fields in org.apache.lucene.facet.range declared as LongValuesSourceModifier and TypeFieldDescriptionprivate final LongValuesSource
DynamicRangeUtil.SegmentTask.fieldValueSource
private final LongValuesSource
LongRange.ValueSourceQuery.valueSource
private final LongValuesSource
DynamicRangeUtil.SegmentTask.weightValueSource
Methods in org.apache.lucene.facet.range with parameters of type LongValuesSourceModifier and TypeMethodDescriptionDynamicRangeUtil.computeDynamicRanges
(String weightFieldName, LongValuesSource weightValueSource, LongValuesSource fieldValueSource, FacetsCollector facetsCollector, int topN, ExecutorService exec) Construct dynamic ranges using the specified weight field to generate equi-weight range for the specified numeric bin fieldprivate void
LongRangeFacetCounts.count
(LongValuesSource valueSource, List<FacetsCollector.MatchingDocs> matchingDocs) Counts from the provided valueSource.LongRange.getQuery
(Query fastMatchQuery, LongValuesSource valueSource) Create a Query that matches documents in this rangeConstructors in org.apache.lucene.facet.range with parameters of type LongValuesSourceModifierConstructorDescriptionLongRangeFacetCounts
(String field, LongValuesSource valueSource, FacetsCollector hits, LongRange... ranges) CreateLongRangeFacetCounts
, using the providedLongValuesSource
if non-null.LongRangeFacetCounts
(String field, LongValuesSource valueSource, FacetsCollector hits, Query fastMatchQuery, LongRange... ranges) CreateLongRangeFacetCounts
, using the providedLongValuesSource
if non-null.(package private)
SegmentTask
(FacetsCollector.MatchingDocs matchingDocs, LongValuesSource fieldValueSource, LongValuesSource weightValueSource, DynamicRangeUtil.SegmentOutput segmentOutput) (package private)
ValueSourceQuery
(LongRange range, Query fastMatchQuery, LongValuesSource valueSource) -
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.facet.cutters.ranges
Fields in org.apache.lucene.sandbox.facet.cutters.ranges declared as LongValuesSourceModifier and TypeFieldDescription(package private) final LongValuesSource
LongRangeFacetCutter.singleValues
Methods in org.apache.lucene.sandbox.facet.cutters.ranges with parameters of type LongValuesSourceModifier and TypeMethodDescription(package private) static LongRangeFacetCutter
LongRangeFacetCutter.createSingleOrMultiValued
(MultiLongValuesSource longValuesSource, LongValuesSource singleLongValuesSource, LongRange[] longRanges) CreateFacetCutter
for provided value source and long ranges.Constructors in org.apache.lucene.sandbox.facet.cutters.ranges with parameters of type LongValuesSourceModifierConstructorDescription(package private)
LongRangeFacetCutter
(MultiLongValuesSource longValuesSource, LongValuesSource singleLongValuesSource, LongRange[] longRanges) (package private)
NonOverlappingLongRangeFacetCutter
(MultiLongValuesSource longValuesSource, LongValuesSource singleLongValuesSource, LongRange[] longRanges) (package private)
OverlappingLongRangeFacetCutter
(MultiLongValuesSource longValuesSource, LongValuesSource singleLongValuesSource, LongRange[] longRanges) -
Uses of LongValuesSource in org.apache.lucene.sandbox.facet.recorders
Fields in org.apache.lucene.sandbox.facet.recorders declared as LongValuesSourceModifier and TypeFieldDescriptionprivate final LongValuesSource[]
LongAggregationsFacetRecorder.longValuesSources
Constructors in org.apache.lucene.sandbox.facet.recorders with parameters of type LongValuesSourceModifierConstructorDescriptionLongAggregationsFacetRecorder
(LongValuesSource[] longValuesSources, Reducer[] reducers) Constructor. -
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
private 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) DoubleValuesSource.SortableLongDoubleValuesSource.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 longsfinal LongValuesSource
DoubleValuesSource.toSortableLongDoubleValuesSource()
Convert toLongValuesSource
by callingNumericUtils.doubleToSortableLong(double)
Constructors 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.