Uses of Class
org.apache.lucene.facet.FacetResult
Package
Description
Faceted search.
Provides faceting capabilities over facets that were indexed with
SortedSetDocValuesFacetField
.Taxonomy of Categories.
-
Uses of FacetResult in org.apache.lucene.facet
Modifier 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.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) Returns the specified top number of facets, sorted by count.Modifier 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) Modifier 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.sortedset
Modifier and TypeMethodDescriptionConcurrentSortedSetDocValuesFacetCounts.getTopChildren
(int topN, String dim, String... path) SortedSetDocValuesFacetCounts.getTopChildren
(int topN, String dim, String... path) Modifier and TypeMethodDescriptionConcurrentSortedSetDocValuesFacetCounts.getAllDims
(int topN) SortedSetDocValuesFacetCounts.getAllDims
(int topN) -
Uses of FacetResult in org.apache.lucene.facet.taxonomy
Modifier and TypeMethodDescriptionFloatTaxonomyFacets.getTopChildren
(int topN, String dim, String... path) Deprecated.IntTaxonomyFacets.getTopChildren
(int topN, String dim, String... path) Deprecated.