Package org.apache.lucene.facet.taxonomy
Class TaxonomyFacets
java.lang.Object
org.apache.lucene.facet.Facets
org.apache.lucene.facet.taxonomy.TaxonomyFacets
- Direct Known Subclasses:
FloatTaxonomyFacets,IntTaxonomyFacets
Base class for all taxonomy-based facets impls.
-
Method Summary
Modifier and TypeMethodDescriptiongetAllDims(int topN) Returns topN labels for any dimension that had hits, sorted by the number of hits that dimension matched; this is used for "sparse" faceting, where many different dimensions were indexed, for example depending on the type of document.Methods inherited from class org.apache.lucene.facet.Facets
getSpecificValue, getTopChildren
-
Method Details
-
getAllDims
Description copied from class:FacetsReturns topN labels for any dimension that had hits, sorted by the number of hits that dimension matched; this is used for "sparse" faceting, where many different dimensions were indexed, for example depending on the type of document.- Specified by:
getAllDimsin classFacets- Throws:
IOException
-