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
Aggregates int values previously indexed with
IntAssociationFacetField, assuming the
default encoding. The aggregation function is defined by a provided AssociationAggregationFunction.- 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, valuesFields inherited from class org.apache.lucene.facet.taxonomy.TaxonomyFacets
config, indexFieldName, parents, taxoReader -
Constructor Summary
ConstructorsConstructorDescriptionTaxonomyFacetIntAssociations(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
getAllChildren, getSpecificValue, getTopChildren, getTopDims, getValue, increment, increment, rollup, useHashTableMethods inherited from class org.apache.lucene.facet.taxonomy.TaxonomyFacets
childrenLoaded, getAllDims, getChildren, getSiblings, siblingsLoaded, verifyDimMethods inherited from class org.apache.lucene.facet.Facets
validateTopN
-
Constructor Details
-
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
-