Package org.apache.lucene.facet.taxonomy
Class TaxonomyFacetIntAssociations
- java.lang.Object
-
- org.apache.lucene.facet.Facets
-
- org.apache.lucene.facet.taxonomy.TaxonomyFacets
-
- org.apache.lucene.facet.taxonomy.IntTaxonomyFacets
-
- org.apache.lucene.facet.taxonomy.TaxonomyFacetIntAssociations
-
- Direct Known Subclasses:
TaxonomyFacetSumIntAssociations
public class TaxonomyFacetIntAssociations extends IntTaxonomyFacets
Aggregates int values previously indexed withIntAssociationFacetField, assuming the default encoding. The aggregation function is defined by a providedAssociationAggregationFunction.- WARNING: This API is experimental and might change in incompatible ways in the next release.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.lucene.facet.taxonomy.IntTaxonomyFacets
IntTaxonomyFacets.IntAggregatedValue
-
Nested classes/interfaces inherited from class org.apache.lucene.facet.taxonomy.TaxonomyFacets
TaxonomyFacets.AggregatedValue
-
-
Field Summary
-
Fields inherited from class org.apache.lucene.facet.taxonomy.IntTaxonomyFacets
aggregationFunction, sparseValues, values
-
Fields inherited from class org.apache.lucene.facet.taxonomy.TaxonomyFacets
config, indexFieldName, taxoReader, valueComparator
-
-
Constructor Summary
Constructors Constructor Description 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.
-
Method Summary
-
Methods inherited from class org.apache.lucene.facet.taxonomy.IntTaxonomyFacets
aggregate, getAggregationValue, increment, increment, initializeValueCounters, newAggregatedValue, setIncomingValue, updateValueFromRollup
-
Methods inherited from class org.apache.lucene.facet.taxonomy.TaxonomyFacets
childrenLoaded, getAllChildren, getAllDims, getCount, getSpecificValue, getTopChildren, getTopChildrenForPath, getTopDims, insertIntoQueue, makeTopOrdAndNumberQueue, missingAggregationValue, rollup, setCount, siblingsLoaded, useHashTable, verifyDim
-
Methods inherited from class org.apache.lucene.facet.Facets
validateTopN
-
-
-
-
Constructor Detail
-
TaxonomyFacetIntAssociations
public TaxonomyFacetIntAssociations(TaxonomyReader taxoReader, FacetsConfig config, FacetsCollector fc, AssociationAggregationFunction aggregationFunction) throws IOException
CreateTaxonomyFacetIntAssociationsagainst the default index field.- Throws:
IOException
-
TaxonomyFacetIntAssociations
public TaxonomyFacetIntAssociations(String indexFieldName, TaxonomyReader taxoReader, FacetsConfig config, FacetsCollector fc, AssociationAggregationFunction aggregationFunction) throws IOException
CreateTaxonomyFacetIntAssociationsagainst the specified index field.- Throws:
IOException
-
-