org.apache.lucene.facet.taxonomy
Class TaxonomyFacetCounts
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.TaxonomyFacetCounts
public class TaxonomyFacetCounts
- extends IntTaxonomyFacets
Reads from any OrdinalsReader
; use FastTaxonomyFacetCounts
if you are using the
default encoding from BinaryDocValues
.
- 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 |
TaxonomyFacetCounts
public TaxonomyFacetCounts(OrdinalsReader ordinalsReader,
TaxonomyReader taxoReader,
FacetsConfig config,
FacetsCollector fc)
throws IOException
- Create
TaxonomyFacetCounts
, which also
counts all facet labels. Use this for a non-default
OrdinalsReader
; otherwise use FastTaxonomyFacetCounts
.
- Throws:
IOException
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.