Package | Description |
---|---|
org.apache.lucene.facet.associations |
Allows associating arbitrary values with a category.
|
org.apache.lucene.facet.old |
Old faceted search API, kept until complements, sampling and partitions are migrated to the new API.
|
org.apache.lucene.facet.partitions |
Category Partitions
|
org.apache.lucene.facet.sampling |
Facets sampling.
|
org.apache.lucene.facet.search |
Facets search code.
|
org.apache.lucene.facet.sortedset |
Classes to perform faceting without a separate taxonomy index, using on SortedSetDocValuesField.
|
Modifier and Type | Method and Description |
---|---|
void |
SumFloatAssociationFacetsAggregator.aggregate(FacetsCollector.MatchingDocs matchingDocs,
CategoryListParams clp,
FacetArrays facetArrays) |
void |
SumIntAssociationFacetsAggregator.aggregate(FacetsCollector.MatchingDocs matchingDocs,
CategoryListParams clp,
FacetArrays facetArrays) |
OrdinalValueResolver |
SumFloatAssociationFacetsAggregator.createOrdinalValueResolver(FacetRequest facetRequest,
FacetArrays arrays) |
OrdinalValueResolver |
SumIntAssociationFacetsAggregator.createOrdinalValueResolver(FacetRequest facetRequest,
FacetArrays arrays) |
void |
SumFloatAssociationFacetsAggregator.rollupValues(FacetRequest fr,
int ordinal,
int[] children,
int[] siblings,
FacetArrays facetArrays) |
void |
SumIntAssociationFacetsAggregator.rollupValues(FacetRequest fr,
int ordinal,
int[] children,
int[] siblings,
FacetArrays facetArrays) |
Modifier and Type | Method and Description |
---|---|
protected Aggregator |
OldFacetsAccumulator.createAggregator(FacetRequest fr,
FacetArrays facetArrays) |
protected HashMap<CategoryListIterator,Aggregator> |
OldFacetsAccumulator.getCategoryListMap(FacetArrays facetArrays,
int partition)
|
Constructor and Description |
---|
AdaptiveFacetsAccumulator(FacetSearchParams searchParams,
IndexReader indexReader,
TaxonomyReader taxonomyReader,
FacetArrays facetArrays)
Create an
AdaptiveFacetsAccumulator |
OldFacetsAccumulator(FacetSearchParams searchParams,
IndexReader indexReader,
TaxonomyReader taxonomyReader,
FacetArrays facetArrays) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
PartitionsFacetResultsHandler.isSelfPartition(int ordinal,
FacetArrays facetArrays,
int offset)
Check if an array contains the partition which contains ordinal
|
Constructor and Description |
---|
PartitionsFacetResultsHandler(TaxonomyReader taxonomyReader,
FacetRequest facetRequest,
OrdinalValueResolver resolver,
FacetArrays facetArrays) |
Constructor and Description |
---|
SamplingAccumulator(Sampler sampler,
FacetSearchParams searchParams,
IndexReader indexReader,
TaxonomyReader taxonomyReader,
FacetArrays facetArrays) |
Modifier and Type | Class and Description |
---|---|
class |
ReusingFacetArrays
|
Modifier and Type | Field and Description |
---|---|
protected FacetArrays |
OrdinalValueResolver.arrays |
protected FacetArrays |
FacetResultsHandler.facetArrays |
FacetArrays |
TaxonomyFacetsAccumulator.facetArrays |
Modifier and Type | Method and Description |
---|---|
void |
SumScoreFacetsAggregator.aggregate(FacetsCollector.MatchingDocs matchingDocs,
CategoryListParams clp,
FacetArrays facetArrays) |
void |
MultiFacetsAggregator.aggregate(FacetsCollector.MatchingDocs matchingDocs,
CategoryListParams clp,
FacetArrays facetArrays) |
void |
PerCategoryListAggregator.aggregate(FacetsCollector.MatchingDocs matchingDocs,
CategoryListParams clp,
FacetArrays facetArrays) |
abstract void |
IntRollupFacetsAggregator.aggregate(FacetsCollector.MatchingDocs matchingDocs,
CategoryListParams clp,
FacetArrays facetArrays) |
void |
FastCountingFacetsAggregator.aggregate(FacetsCollector.MatchingDocs matchingDocs,
CategoryListParams clp,
FacetArrays facetArrays) |
void |
CountingFacetsAggregator.aggregate(FacetsCollector.MatchingDocs matchingDocs,
CategoryListParams clp,
FacetArrays facetArrays) |
void |
CachedOrdsCountingFacetsAggregator.aggregate(FacetsCollector.MatchingDocs matchingDocs,
CategoryListParams clp,
FacetArrays facetArrays) |
void |
FacetsAggregator.aggregate(FacetsCollector.MatchingDocs matchingDocs,
CategoryListParams clp,
FacetArrays facetArrays)
Aggregate the facets found in the given matching documents.
|
static FacetsAccumulator |
FacetsAccumulator.create(FacetSearchParams fsp,
IndexReader indexReader,
TaxonomyReader taxoReader,
FacetArrays arrays)
Creates a
FacetsAccumulator for the given facet requests. |
static FacetsAccumulator |
FacetsAccumulator.create(FacetSearchParams fsp,
SortedSetDocValuesReaderState state,
FacetArrays arrays)
Creates a
FacetsAccumulator for the given facet requests. |
OrdinalValueResolver |
SumScoreFacetsAggregator.createOrdinalValueResolver(FacetRequest facetRequest,
FacetArrays arrays) |
OrdinalValueResolver |
MultiFacetsAggregator.createOrdinalValueResolver(FacetRequest facetRequest,
FacetArrays arrays) |
OrdinalValueResolver |
PerCategoryListAggregator.createOrdinalValueResolver(FacetRequest facetRequest,
FacetArrays arrays) |
OrdinalValueResolver |
IntRollupFacetsAggregator.createOrdinalValueResolver(FacetRequest facetRequest,
FacetArrays arrays) |
OrdinalValueResolver |
FacetsAggregator.createOrdinalValueResolver(FacetRequest facetRequest,
FacetArrays arrays)
Creates the appropriate
OrdinalValueResolver for this aggregator
and the given FacetRequest . |
void |
SumScoreFacetsAggregator.rollupValues(FacetRequest fr,
int ordinal,
int[] children,
int[] siblings,
FacetArrays facetArrays) |
void |
MultiFacetsAggregator.rollupValues(FacetRequest fr,
int ordinal,
int[] children,
int[] siblings,
FacetArrays facetArrays) |
void |
PerCategoryListAggregator.rollupValues(FacetRequest fr,
int ordinal,
int[] children,
int[] siblings,
FacetArrays facetArrays) |
void |
IntRollupFacetsAggregator.rollupValues(FacetRequest fr,
int ordinal,
int[] children,
int[] siblings,
FacetArrays facetArrays) |
void |
FacetsAggregator.rollupValues(FacetRequest fr,
int ordinal,
int[] children,
int[] siblings,
FacetArrays facetArrays)
Rollup the values of the given ordinal.
|
Modifier and Type | Method and Description |
---|---|
static List<FacetResult> |
FacetResult.mergeHierarchies(List<FacetResult> results,
TaxonomyReader taxoReader,
Map<String,FacetArrays> dimArrays)
A utility for merging multiple
FacetResult of the same
(hierarchical) dimension into a single FacetResult , to reconstruct
the hierarchy. |
Constructor and Description |
---|
SortedSetDocValuesAccumulator(SortedSetDocValuesReaderState state,
FacetSearchParams fsp,
FacetArrays arrays) |
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.