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
public abstract class TaxonomyFacets extends Facets
Base class for all taxonomy-based facets impls.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<FacetResult>
getAllDims(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 Detail
-
getAllDims
public java.util.List<FacetResult> getAllDims(int topN) throws java.io.IOException
Description copied from class:Facets
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.- Specified by:
getAllDims
in classFacets
- Throws:
java.io.IOException
-
-