Package org.apache.lucene.facet.taxonomy
Class FloatTaxonomyFacets
java.lang.Object
org.apache.lucene.facet.Facets
org.apache.lucene.facet.taxonomy.TaxonomyFacets
org.apache.lucene.facet.taxonomy.FloatTaxonomyFacets
- Direct Known Subclasses:
TaxonomyFacetSumFloatAssociations,TaxonomyFacetSumValueSource
Base class for all taxonomy-based facets that aggregate
to a per-ords float[].
-
Method Summary
Modifier and TypeMethodDescriptiongetSpecificValue(String dim, String... path) Return the count or value for a specific path.getTopChildren(int topN, String dim, String... path) Returns the topN child labels under the specified path.Methods inherited from class org.apache.lucene.facet.taxonomy.TaxonomyFacets
getAllDims
-
Method Details
-
getSpecificValue
Description copied from class:FacetsReturn the count or value for a specific path. Returns -1 if this path doesn't exist, else the count.- Specified by:
getSpecificValuein classFacets- Throws:
IOException
-
getTopChildren
Description copied from class:FacetsReturns the topN child labels under the specified path. Returns null if the specified path doesn't exist or if this dimension was never seen.- Specified by:
getTopChildrenin classFacets- Throws:
IOException
-