Uses of Class
org.apache.lucene.facet.FacetResult
Packages that use FacetResult
Package
Description
Faceted search.
Provides FacetSets faceting capabilities which allows users to facet on high dimensional field
values.
Taxonomy of Categories.
-
Uses of FacetResult in org.apache.lucene.facet
Methods in org.apache.lucene.facet that return FacetResultModifier and TypeMethodDescriptionRandomSamplingFacetsCollector.amortizeFacetCounts
(FacetResult res, FacetsConfig config, IndexSearcher searcher) Note: if you use a countingFacets
implementation, you can amortize the sampled counts by calling this method.abstract FacetResult
Facets.getAllChildren
(String dim, String... path) Returns all child labels with non-zero counts under the specified path.LongValueFacetCounts.getAllChildren
(String dim, String... path) MultiFacets.getAllChildren
(String dim, String... path) StringValueFacetCounts.getAllChildren
(String dim, String... path) LongValueFacetCounts.getAllChildrenSortByValue()
Returns all unique values seen, sorted by value.abstract FacetResult
Facets.getTopChildren
(int topN, String dim, String... path) Returns the topN child labels under the specified path.LongValueFacetCounts.getTopChildren
(int topN, String dim, String... path) MultiFacets.getTopChildren
(int topN, String dim, String... path) StringValueFacetCounts.getTopChildren
(int topN, String dim, String... path) LongValueFacetCounts.getTopChildrenSortByCount
(int topN) Deprecated.Methods in org.apache.lucene.facet that return types with arguments of type FacetResultModifier and TypeMethodDescriptionabstract List
<FacetResult> Facets.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.LongValueFacetCounts.getAllDims
(int topN) MultiFacets.getAllDims
(int topN) StringValueFacetCounts.getAllDims
(int topN) Facets.getTopDims
(int topNDims, int topNChildren) Returns labels for topN dimensions and their topNChildren sorted by the number of hits/aggregated values that dimension matched.Methods in org.apache.lucene.facet with parameters of type FacetResultModifier and TypeMethodDescriptionRandomSamplingFacetsCollector.amortizeFacetCounts
(FacetResult res, FacetsConfig config, IndexSearcher searcher) Note: if you use a countingFacets
implementation, you can amortize the sampled counts by calling this method. -
Uses of FacetResult in org.apache.lucene.facet.facetset
Methods in org.apache.lucene.facet.facetset that return FacetResultModifier and TypeMethodDescriptionMatchingFacetSetsCounts.getAllChildren
(String dim, String... path) MatchingFacetSetsCounts.getTopChildren
(int topN, String dim, String... path) Methods in org.apache.lucene.facet.facetset that return types with arguments of type FacetResult -
Uses of FacetResult in org.apache.lucene.facet.taxonomy
Methods in org.apache.lucene.facet.taxonomy that return FacetResultModifier and TypeMethodDescriptionTaxonomyFacets.getAllChildren
(String dim, String... path) Deprecated.TaxonomyFacets.getTopChildren
(int topN, String dim, String... path) Deprecated.Methods in org.apache.lucene.facet.taxonomy that return types with arguments of type FacetResultModifier and TypeMethodDescriptionTaxonomyFacets.getAllDims
(int topN) Deprecated.TaxonomyFacets.getTopDims
(int topNDims, int topNChildren) Deprecated.
LongValueFacetCounts.getTopChildren(int, String, String...)
instead for the same functionality.