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