Uses of Class
org.apache.lucene.facet.FacetsCollector
-
Packages that use FacetsCollector Package Description org.apache.lucene.facet Faceted search.org.apache.lucene.facet.range Provides range faceting capabilities.org.apache.lucene.facet.sortedset Provides faceting capabilities over facets that were indexed withSortedSetDocValuesFacetField
.org.apache.lucene.facet.taxonomy Taxonomy of Categories. -
-
Uses of FacetsCollector in org.apache.lucene.facet
Subclasses of FacetsCollector in org.apache.lucene.facet Modifier and Type Class Description class
RandomSamplingFacetsCollector
Collects hits for subsequent faceting, using sampling if needed.Methods in org.apache.lucene.facet that return FacetsCollector Modifier and Type Method Description FacetsCollector
FacetsCollectorManager. newCollector()
FacetsCollector
FacetsCollectorManager. reduce(Collection<FacetsCollector> collectors)
Methods in org.apache.lucene.facet with parameters of type FacetsCollector Modifier and Type Method Description protected Facets
DrillSideways. 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 FacetsCollector Modifier and Type Method Description FacetsCollector
FacetsCollectorManager. reduce(Collection<FacetsCollector> collectors)
Constructors in org.apache.lucene.facet with parameters of type FacetsCollector Constructor Description LongValueFacetCounts(String field, FacetsCollector hits, boolean multiValued)
CreateLongValueFacetCounts
, using either single-valuedNumericDocValues
or multi-valuedSortedNumericDocValues
from the specified field.LongValueFacetCounts(String field, LongValuesSource valueSource, FacetsCollector hits)
CreateLongValueFacetCounts
, using the providedLongValuesSource
.LongValueFacetCounts(String field, LongValuesSource valueSource, FacetsCollector hits, boolean multiValued)
CreateLongValueFacetCounts
, using the providedLongValuesSource
. -
Uses of FacetsCollector in org.apache.lucene.facet.range
Constructors in org.apache.lucene.facet.range with parameters of type FacetsCollector Constructor Description DoubleRangeFacetCounts(String field, FacetsCollector hits, DoubleRange... ranges)
CreateRangeFacetCounts
, usingDoubleValues
from the specified field.DoubleRangeFacetCounts(String field, DoubleValuesSource valueSource, FacetsCollector hits, DoubleRange... ranges)
CreateRangeFacetCounts
using the providedDoubleValuesSource
DoubleRangeFacetCounts(String field, DoubleValuesSource valueSource, FacetsCollector hits, Query fastMatchQuery, DoubleRange... ranges)
CreateRangeFacetCounts
, using the providedDoubleValuesSource
, and using the provided Query as a fastmatch: only documents matching the query are checked for the matching ranges.LongRangeFacetCounts(String field, FacetsCollector hits, LongRange... ranges)
CreateLongRangeFacetCounts
, usingLongValuesSource
from the specified field.LongRangeFacetCounts(String field, LongValuesSource valueSource, FacetsCollector hits, LongRange... ranges)
CreateLongRangeFacetCounts
, using the providedLongValuesSource
.LongRangeFacetCounts(String field, LongValuesSource valueSource, FacetsCollector hits, Query fastMatchQuery, LongRange... ranges)
CreateLongRangeFacetCounts
, using the providedLongValuesSource
, and using the provided Filter as a fastmatch: only documents passing the filter are checked for the matching ranges, which is helpful when the providedLongValuesSource
is costly per-document, such as a geo distance. -
Uses of FacetsCollector in org.apache.lucene.facet.sortedset
Constructors in org.apache.lucene.facet.sortedset with parameters of type FacetsCollector Constructor Description ConcurrentSortedSetDocValuesFacetCounts(SortedSetDocValuesReaderState state, FacetsCollector hits, ExecutorService exec)
Counts all facet dimensions across the provided hits.SortedSetDocValuesFacetCounts(SortedSetDocValuesReaderState state, FacetsCollector hits)
Counts all facet dimensions across the provided hits. -
Uses of FacetsCollector in org.apache.lucene.facet.taxonomy
Methods in org.apache.lucene.facet.taxonomy with parameters of type FacetsCollector Modifier and Type Method Description protected boolean
IntTaxonomyFacets. useHashTable(FacetsCollector fc, TaxonomyReader taxoReader)
Return true if a sparse hash table should be used for counting, instead of a dense int[].Constructors in org.apache.lucene.facet.taxonomy with parameters of type FacetsCollector Constructor Description FastTaxonomyFacetCounts(String indexFieldName, TaxonomyReader taxoReader, FacetsConfig config, FacetsCollector fc)
CreateFastTaxonomyFacetCounts
, using the specifiedindexFieldName
for ordinals.FastTaxonomyFacetCounts(TaxonomyReader taxoReader, FacetsConfig config, FacetsCollector fc)
CreateFastTaxonomyFacetCounts
, which also counts all facet labels.IntTaxonomyFacets(String indexFieldName, TaxonomyReader taxoReader, FacetsConfig config, FacetsCollector fc)
Sole constructor.TaxonomyFacetCounts(OrdinalsReader ordinalsReader, TaxonomyReader taxoReader, FacetsConfig config, FacetsCollector fc)
CreateTaxonomyFacetCounts
, which also counts all facet labels.TaxonomyFacetSumFloatAssociations(String indexFieldName, TaxonomyReader taxoReader, FacetsConfig config, FacetsCollector fc)
CreateTaxonomyFacetSumFloatAssociations
against the specified index field.TaxonomyFacetSumFloatAssociations(TaxonomyReader taxoReader, FacetsConfig config, FacetsCollector fc)
CreateTaxonomyFacetSumFloatAssociations
against the default index field.TaxonomyFacetSumIntAssociations(String indexFieldName, TaxonomyReader taxoReader, FacetsConfig config, FacetsCollector fc)
CreateTaxonomyFacetSumIntAssociations
against the specified index field.TaxonomyFacetSumIntAssociations(TaxonomyReader taxoReader, FacetsConfig config, FacetsCollector fc)
CreateTaxonomyFacetSumIntAssociations
against the default index field.TaxonomyFacetSumValueSource(OrdinalsReader ordinalsReader, TaxonomyReader taxoReader, FacetsConfig config, FacetsCollector fc, DoubleValuesSource vs)
Aggreggates float facet values from the providedDoubleValuesSource
, and pulls ordinals from the providedOrdinalsReader
.TaxonomyFacetSumValueSource(TaxonomyReader taxoReader, FacetsConfig config, FacetsCollector fc, DoubleValuesSource valueSource)
Aggreggates double facet values from the providedDoubleValuesSource
, pulling ordinals usingDocValuesOrdinalsReader
against the default indexed facet fieldFacetsConfig.DEFAULT_INDEX_FIELD_NAME
.
-