Uses of Class
org.apache.lucene.facet.FacetsCollector
Packages that use FacetsCollector
Package
Description
Faceted search.
Provides FacetSets faceting capabilities which allows users to facet on high dimensional field
values.
Provides range faceting capabilities.
Provides range on range faceting capabilities.
Provides faceting capabilities over facets that were indexed with
SortedSetDocValuesFacetField.Taxonomy of Categories.
-
Uses of FacetsCollector in org.apache.lucene.facet
Subclasses of FacetsCollector in org.apache.lucene.facetModifier and TypeClassDescriptionclassCollects hits for subsequent faceting, using sampling if needed.Fields in org.apache.lucene.facet declared as FacetsCollectorModifier and TypeFieldDescriptionfinal FacetsCollectorDrillSideways.DrillSidewaysResult.drillDownFacetsCollectorFacetsCollector populated based on hits that match the full DrillDownQuery, treating all drill down dimensions as required clauses.final FacetsCollector[]DrillSideways.DrillSidewaysResult.drillSidewaysFacetsCollectorFacetsCollectors populated for each drill sideways dimension.Methods in org.apache.lucene.facet that return FacetsCollectorModifier and TypeMethodDescriptionFacetsCollectorManager.FacetsResult.facetsCollector()Returns the value of thefacetsCollectorrecord component.FacetsCollectorManager.newCollector()FacetsCollectorManager.reduce(Collection<FacetsCollector> collectors) Methods in org.apache.lucene.facet with parameters of type FacetsCollectorModifier and TypeMethodDescriptionprotected FacetsDrillSideways.buildFacetsResult(FacetsCollector drillDowns, FacetsCollector[] drillSideways, String[] drillSidewaysDims) Subclass can override to customize per-dim Facets impl.Method parameters in org.apache.lucene.facet with type arguments of type FacetsCollectorModifier and TypeMethodDescriptionFacetsCollectorManager.reduce(Collection<FacetsCollector> collectors) Constructors in org.apache.lucene.facet with parameters of type FacetsCollectorModifierConstructorDescriptionDrillSidewaysResult(Facets facets, TopDocs hits, FacetsCollector drillDownFacetsCollector, FacetsCollector[] drillSidewaysFacetsCollector, String[] drillSidewaysDims) Sole constructor.FacetsResult(TopDocs topDocs, FacetsCollector facetsCollector) Creates an instance of aFacetsResultrecord class.LongValueFacetCounts(String field, FacetsCollector hits) CreateLongValueFacetCounts, using either single-valuedNumericDocValuesor multi-valuedSortedNumericDocValuesfrom the specified field (depending on what has been indexed).LongValueFacetCounts(String field, MultiLongValuesSource valuesSource, FacetsCollector hits) CreateLongValueFacetCounts, using the providedMultiLongValuesSourceif non-null.LongValueFacetCounts(String field, LongValuesSource valueSource, FacetsCollector hits) CreateLongValueFacetCounts, using the providedLongValuesSourceif non-null.StringValueFacetCounts(StringDocValuesReaderState state, FacetsCollector facetsCollector) Counts facets across the provided hits. -
Uses of FacetsCollector in org.apache.lucene.facet.facetset
Constructors in org.apache.lucene.facet.facetset with parameters of type FacetsCollectorModifierConstructorDescriptionMatchingFacetSetsCounts(String field, FacetsCollector hits, FacetSetDecoder facetSetDecoder, FacetSetMatcher... facetSetMatchers) Constructs a new instance of matching facet set counts which calculates the counts for each given facet set matcher.MatchingFacetSetsCounts(String field, FacetsCollector hits, FacetSetDecoder facetSetDecoder, Query fastMatchQuery, FacetSetMatcher... facetSetMatchers) Constructs a new instance of matching facet set counts which calculates the counts for each given facet set matcher. -
Uses of FacetsCollector in org.apache.lucene.facet.range
Methods in org.apache.lucene.facet.range with parameters of type FacetsCollectorModifier 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 fieldConstructors in org.apache.lucene.facet.range with parameters of type FacetsCollectorModifierConstructorDescriptionDoubleRangeFacetCounts(String field, FacetsCollector hits, DoubleRange... ranges) CreateRangeFacetCounts, using double value from the specified field.DoubleRangeFacetCounts(String field, MultiDoubleValuesSource valuesSource, FacetsCollector hits, DoubleRange... ranges) CreateRangeFacetCounts, using the providedMultiDoubleValuesSourceif non-null.DoubleRangeFacetCounts(String field, MultiDoubleValuesSource valuesSource, FacetsCollector hits, Query fastMatchQuery, DoubleRange... ranges) CreateRangeFacetCounts, using the providedMultiDoubleValuesSourceif non-null.DoubleRangeFacetCounts(String field, DoubleValuesSource valueSource, FacetsCollector hits, DoubleRange... ranges) CreateRangeFacetCounts, using the providedDoubleValuesSourceif non-null.DoubleRangeFacetCounts(String field, DoubleValuesSource valueSource, FacetsCollector hits, Query fastMatchQuery, DoubleRange... ranges) CreateRangeFacetCounts, using the providedDoubleValuesSourceif non-null.LongRangeFacetCounts(String field, FacetsCollector hits, LongRange... ranges) CreateLongRangeFacetCountsusing long values from the specified field.LongRangeFacetCounts(String field, MultiLongValuesSource valuesSource, FacetsCollector hits, LongRange... ranges) CreateLongRangeFacetCounts, using the providedMultiLongValuesSourceif non-null.LongRangeFacetCounts(String field, MultiLongValuesSource valuesSource, FacetsCollector hits, Query fastMatchQuery, LongRange... ranges) CreateLongRangeFacetCounts, using the providedMultiLongValuesSourceif non-null.LongRangeFacetCounts(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. -
Uses of FacetsCollector in org.apache.lucene.facet.rangeonrange
Constructors in org.apache.lucene.facet.rangeonrange with parameters of type FacetsCollectorModifierConstructorDescriptionDoubleRangeOnRangeFacetCounts(String field, FacetsCollector hits, RangeFieldQuery.QueryType queryType, DoubleRange... ranges) Constructor without the fast match query, see other constructor description for more details.DoubleRangeOnRangeFacetCounts(String field, FacetsCollector hits, RangeFieldQuery.QueryType queryType, Query fastMatchQuery, DoubleRange... ranges) Represents counts for double range on range faceting.LongRangeOnRangeFacetCounts(String field, FacetsCollector hits, RangeFieldQuery.QueryType queryType, LongRange... ranges) Constructor without the fast match query, see other constructor description for more details.LongRangeOnRangeFacetCounts(String field, FacetsCollector hits, RangeFieldQuery.QueryType queryType, Query fastMatchQuery, LongRange... ranges) Represents counts for long range on range faceting. -
Uses of FacetsCollector in org.apache.lucene.facet.sortedset
Constructors in org.apache.lucene.facet.sortedset with parameters of type FacetsCollectorModifierConstructorDescriptionConcurrentSortedSetDocValuesFacetCounts(SortedSetDocValuesReaderState state, FacetsCollector hits, ExecutorService exec) Counts all facet dimensions across the provided hits.Counts all facet dimensions across the provided hits. -
Uses of FacetsCollector in org.apache.lucene.facet.taxonomy
Constructors in org.apache.lucene.facet.taxonomy with parameters of type FacetsCollectorModifierConstructorDescriptionFastTaxonomyFacetCounts(String indexFieldName, TaxonomyReader taxoReader, FacetsConfig config, FacetsCollector fc) CreateFastTaxonomyFacetCounts, using the specifiedindexFieldNamefor ordinals.FastTaxonomyFacetCounts(TaxonomyReader taxoReader, FacetsConfig config, FacetsCollector fc) CreateFastTaxonomyFacetCounts, which also counts all facet labels.TaxonomyFacetFloatAssociations(String indexFieldName, TaxonomyReader taxoReader, FacetsConfig config, FacetsCollector fc, AssociationAggregationFunction aggregationFunction) CreateTaxonomyFacetFloatAssociationsagainst the specified index field.TaxonomyFacetFloatAssociations(String indexFieldName, TaxonomyReader taxoReader, FacetsConfig config, FacetsCollector fc, AssociationAggregationFunction aggregationFunction, DoubleValuesSource valuesSource) CreateTaxonomyFacetFloatAssociationsagainst the specified index field.TaxonomyFacetFloatAssociations(TaxonomyReader taxoReader, FacetsConfig config, FacetsCollector fc, AssociationAggregationFunction aggregationFunction) CreateTaxonomyFacetFloatAssociationsagainst the default index field.TaxonomyFacetFloatAssociations(TaxonomyReader taxoReader, FacetsConfig config, FacetsCollector fc, AssociationAggregationFunction aggregationFunction, DoubleValuesSource valuesSource) CreateTaxonomyFacetFloatAssociationsagainst the default index field.TaxonomyFacetIntAssociations(String indexFieldName, TaxonomyReader taxoReader, FacetsConfig config, FacetsCollector fc, AssociationAggregationFunction aggregationFunction) CreateTaxonomyFacetIntAssociationsagainst the specified index field.TaxonomyFacetIntAssociations(TaxonomyReader taxoReader, FacetsConfig config, FacetsCollector fc, AssociationAggregationFunction aggregationFunction) CreateTaxonomyFacetIntAssociationsagainst the default index field.