Package org.apache.lucene.facet.taxonomy
Class TaxonomyFacetSumIntAssociations
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
org.apache.lucene.facet.taxonomy.TaxonomyFacetSumIntAssociations
Deprecated.
Aggregates sum of int values previously indexed with
IntAssociationFacetField
, assuming
the default encoding.- WARNING: This API is experimental and might change in incompatible ways in the next release.
-
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, parents, taxoReader
-
Constructor Summary
ConstructorDescriptionTaxonomyFacetSumIntAssociations
(String indexFieldName, TaxonomyReader taxoReader, FacetsConfig config, FacetsCollector fc) Deprecated.CreateTaxonomyFacetSumIntAssociations
against the specified index field.TaxonomyFacetSumIntAssociations
(TaxonomyReader taxoReader, FacetsConfig config, FacetsCollector fc) Deprecated.CreateTaxonomyFacetSumIntAssociations
against the default index field. -
Method Summary
Methods inherited from class org.apache.lucene.facet.taxonomy.IntTaxonomyFacets
getAllChildren, getSpecificValue, getTopChildren, getTopDims, getValue, increment, increment, rollup, useHashTable
Methods inherited from class org.apache.lucene.facet.taxonomy.TaxonomyFacets
childrenLoaded, getAllDims, getChildren, getSiblings, siblingsLoaded, verifyDim
Methods inherited from class org.apache.lucene.facet.Facets
validateTopN
-
Constructor Details
-
TaxonomyFacetSumIntAssociations
public TaxonomyFacetSumIntAssociations(TaxonomyReader taxoReader, FacetsConfig config, FacetsCollector fc) throws IOException Deprecated.CreateTaxonomyFacetSumIntAssociations
against the default index field.- Throws:
IOException
-
TaxonomyFacetSumIntAssociations
public TaxonomyFacetSumIntAssociations(String indexFieldName, TaxonomyReader taxoReader, FacetsConfig config, FacetsCollector fc) throws IOException Deprecated.CreateTaxonomyFacetSumIntAssociations
against the specified index field.- Throws:
IOException
-
TaxonomyFacetIntAssociations
, which provides more flexible aggregation functionality beyond just "sum"