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.
- WARNING: This API is experimental and might change in incompatible ways in the next release.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FastTaxonomyFacetCounts
public FastTaxonomyFacetCounts(TaxonomyReader taxoReader,
FacetsConfig config,
FacetsCollector fc)
throws IOException
- Create
FastTaxonomyFacetCounts
, which also
counts all facet labels.
- Throws:
IOException
FastTaxonomyFacetCounts
public FastTaxonomyFacetCounts(String indexFieldName,
TaxonomyReader taxoReader,
FacetsConfig config,
FacetsCollector fc)
throws IOException
- Create
FastTaxonomyFacetCounts
, using the
specified indexFieldName
for ordinals. Use
this if you had set FacetsConfig.setIndexFieldName(java.lang.String, java.lang.String)
to change the index
field name for certain dimensions.
- Throws:
IOException
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.