org.apache.lucene.facet.taxonomy
Class TaxonomyFacetCounts

java.lang.Object
  extended by org.apache.lucene.facet.Facets
      extended by org.apache.lucene.facet.taxonomy.TaxonomyFacets
          extended by org.apache.lucene.facet.taxonomy.IntTaxonomyFacets
              extended by 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.

Field Summary
 
Fields inherited from class org.apache.lucene.facet.taxonomy.IntTaxonomyFacets
values
 
Fields inherited from class org.apache.lucene.facet.taxonomy.TaxonomyFacets
children, config, indexFieldName, siblings, taxoReader
 
Constructor Summary
TaxonomyFacetCounts(OrdinalsReader ordinalsReader, TaxonomyReader taxoReader, FacetsConfig config, FacetsCollector fc)
          Create TaxonomyFacetCounts, which also counts all facet labels.
 
Method Summary
 
Methods inherited from class org.apache.lucene.facet.taxonomy.IntTaxonomyFacets
getSpecificValue, getTopChildren, rollup
 
Methods inherited from class org.apache.lucene.facet.taxonomy.TaxonomyFacets
getAllDims, verifyDim
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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.