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 LongValuesSourceMultiLongValuesSource.SingleValuedAsMultiValued.inMethods in org.apache.lucene.facet that return LongValuesSourceModifier and TypeMethodDescriptionstatic LongValuesSourceMultiLongValuesSource.unwrapSingleton(MultiLongValuesSource in) Returns a single-valued view of theMultiLongValuesSourceif it was previously wrapped withMultiLongValuesSource.fromSingleValued(LongValuesSource), or null.Methods in org.apache.lucene.facet with parameters of type LongValuesSourceModifier and TypeMethodDescriptionprivate voidLongValueFacetCounts.count(LongValuesSource valueSource, List<FacetsCollector.MatchingDocs> matchingDocs) Counts from the provided valueSource.private voidLongValueFacetCounts.countAll(IndexReader reader, LongValuesSource valueSource) Count everything in the provided valueSource.static MultiLongValuesSourceMultiLongValuesSource.fromSingleValued(LongValuesSource singleValued) Creates a MultiLongValuesSource that wraps a single-valuedLongValuesSourceConstructors in org.apache.lucene.facet with parameters of type LongValuesSourceModifierConstructorDescriptionLongValueFacetCounts(String field, LongValuesSource valueSource, FacetsCollector hits) CreateLongValueFacetCounts, using the providedLongValuesSourceif non-null.LongValueFacetCounts(String field, LongValuesSource valueSource, IndexReader reader) Counts all facet values for the providedLongValuesSourceif 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 LongValuesSourceDynamicRangeUtil.SegmentTask.fieldValueSourceprivate final LongValuesSourceLongRange.ValueSourceQuery.valueSourceprivate final LongValuesSourceDynamicRangeUtil.SegmentTask.weightValueSourceMethods 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 voidLongRangeFacetCounts.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 providedLongValuesSourceif non-null.LongRangeFacetCounts(String field, LongValuesSource valueSource, FacetsCollector hits, Query fastMatchQuery, LongRange... ranges) CreateLongRangeFacetCounts, using the providedLongValuesSourceif 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 classprivate static classprivate static classFields in org.apache.lucene.queries.function declared as LongValuesSourceModifier and TypeFieldDescription(package private) final LongValuesSourceIndexReaderFunctions.NoCacheConstantLongValuesSource.parentMethods 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 LongValuesSourceIndexReaderFunctions.sumTotalTermFreq(String field) Creates a constant value source returning the sumTotalTermFreq for a fieldConstructors in org.apache.lucene.queries.function with parameters of type LongValuesSourceModifierConstructorDescriptionprivateNoCacheConstantLongValuesSource(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 LongValuesSourceLongRangeFacetCutter.singleValuesMethods in org.apache.lucene.sandbox.facet.cutters.ranges with parameters of type LongValuesSourceModifier and TypeMethodDescription(package private) static LongRangeFacetCutterLongRangeFacetCutter.createSingleOrMultiValued(MultiLongValuesSource longValuesSource, LongValuesSource singleLongValuesSource, LongRange[] longRanges) CreateFacetCutterfor 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.longValuesSourcesConstructors 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 LongValuesSourceCoveringQuery.CoveringWeight.minimumNumberMatchprivate final LongValuesSourceCoveringQuery.minimumNumberMatchConstructors 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 classprivate static classstatic classA ConstantLongValuesSource that always returns a constant valueprivate static classFields in org.apache.lucene.search declared as LongValuesSourceModifier and TypeFieldDescriptionprivate final LongValuesSourceLongValuesSource.DoubleLongValuesSource.innerprivate final LongValuesSourceLongValuesSource.LongValuesComparatorSource.producer(package private) final LongValuesSourceLongValuesSource.LongValuesSortField.producerMethods in org.apache.lucene.search that return LongValuesSourceModifier and TypeMethodDescriptionstatic LongValuesSourceLongValuesSource.constant(long value) Creates a LongValuesSource that always returns a constant valuestatic LongValuesSourceLongValuesSource.fromIntField(String field) Creates a LongValuesSource that wraps an int-valued fieldstatic LongValuesSourceLongValuesSource.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 LongValuesSourceLongValuesSource.rewrite(IndexSearcher searcher) Return a LongValuesSource specialised for the given IndexSearcherfinal LongValuesSourceDoubleValuesSource.toLongValuesSource()Convert to a LongValuesSource by casting the double values to longsfinal LongValuesSourceDoubleValuesSource.toSortableLongDoubleValuesSource()Convert toLongValuesSourceby callingNumericUtils.doubleToSortableLong(double)Constructors in org.apache.lucene.search with parameters of type LongValuesSourceModifierConstructorDescriptionprivateLongValuesComparatorSource(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 LongValuesSourceDocumentValueSourceDictionary.weightsValueSourceConstructors 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 namedfieldfor the terms and uses theweightsValueSourcesupplied to determine the score.DocumentValueSourceDictionary(IndexReader reader, String field, LongValuesSource weightsValueSource, String payload) Creates a new dictionary with the contents of the fields namedfieldfor the terms,payloadFieldfor the corresponding payloads and uses theweightsValueSourcesupplied 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 namedfieldfor the terms,payloadfor the corresponding payloads,contextsfor the associated contexts and uses theweightsValueSourcesupplied to determine the score.