Package org.apache.lucene.facet.taxonomy
Class FastTaxonomyFacetCounts
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.FastTaxonomyFacetCounts
Computes facets counts, assuming the default encoding
into DocValues was used.
-
Constructor Summary
ConstructorsConstructorDescriptionFastTaxonomyFacetCounts(String indexFieldName, TaxonomyReader taxoReader, FacetsConfig config, FacetsCollector fc) CreateFastTaxonomyFacetCounts, using the specifiedindexFieldNamefor ordinals.FastTaxonomyFacetCounts(TaxonomyReader taxoReader, FacetsConfig config, FacetsCollector fc) CreateFastTaxonomyFacetCounts, which also counts all facet labels. -
Method Summary
Methods inherited from class org.apache.lucene.facet.taxonomy.IntTaxonomyFacets
getSpecificValue, getTopChildrenMethods inherited from class org.apache.lucene.facet.taxonomy.TaxonomyFacets
getAllDims
-
Constructor Details
-
FastTaxonomyFacetCounts
public FastTaxonomyFacetCounts(TaxonomyReader taxoReader, FacetsConfig config, FacetsCollector fc) throws IOException CreateFastTaxonomyFacetCounts, which also counts all facet labels.- Throws:
IOException
-
FastTaxonomyFacetCounts
public FastTaxonomyFacetCounts(String indexFieldName, TaxonomyReader taxoReader, FacetsConfig config, FacetsCollector fc) throws IOException CreateFastTaxonomyFacetCounts, using the specifiedindexFieldNamefor ordinals. Use this if you had setFacetsConfig.setIndexFieldName(java.lang.String, java.lang.String)to change the index field name for certain dimensions.- Throws:
IOException
-