Uses of Class
org.apache.lucene.facet.MultiLongValuesSource
Package
Description
Faceted search.
Provides range faceting capabilities.
-
Uses of MultiLongValuesSource in org.apache.lucene.facet
Modifier and TypeMethodDescriptionstatic MultiLongValuesSource
MultiLongValuesSource.fromIntField
(String field) Creates a MultiLongValuesSource that wraps an int-valued fieldstatic MultiLongValuesSource
MultiLongValuesSource.fromLongField
(String field) Creates a MultiLongValuesSource that wraps a long-valued fieldstatic MultiLongValuesSource
MultiLongValuesSource.fromSingleValued
(LongValuesSource singleValued) Creates a MultiLongValuesSource that wraps a single-valuedLongValuesSource
final MultiLongValuesSource
MultiDoubleValuesSource.toMultiLongValuesSource()
Convert to a MultiLongValuesSource by casting the double values to longsModifier and TypeMethodDescriptionstatic LongValuesSource
MultiLongValuesSource.unwrapSingleton
(MultiLongValuesSource in) Returns a single-valued view of theMultiLongValuesSource
if it was previously wrapped withfromSingleValued(LongValuesSource)
, or null.ModifierConstructorDescriptionLongValueFacetCounts
(String field, MultiLongValuesSource valuesSource, FacetsCollector hits) CreateLongValueFacetCounts
, using the providedMultiLongValuesSource
if non-null.LongValueFacetCounts
(String field, MultiLongValuesSource valuesSource, IndexReader reader) Counts all facet values for the providedMultiLongValuesSource
if non-null. -
Uses of MultiLongValuesSource in org.apache.lucene.facet.range
Modifier and TypeMethodDescriptionLongRange.getQuery
(Query fastMatchQuery, MultiLongValuesSource valuesSource) Create a Query that matches documents in this rangeModifierConstructorDescriptionLongRangeFacetCounts
(String field, MultiLongValuesSource valuesSource, FacetsCollector hits, LongRange... ranges) CreateLongRangeFacetCounts
, using the providedMultiLongValuesSource
if non-null.LongRangeFacetCounts
(String field, MultiLongValuesSource valuesSource, FacetsCollector hits, Query fastMatchQuery, LongRange... ranges) CreateLongRangeFacetCounts
, using the providedMultiLongValuesSource
if non-null.