Package | Description |
---|---|
org.apache.lucene.facet |
Faceted search.
|
org.apache.lucene.facet.sortedset |
Provides faceting capabilities over facets that were indexed
with
SortedSetDocValuesFacetField . |
org.apache.lucene.facet.taxonomy |
Taxonomy of Categories.
|
Modifier and Type | Method and Description |
---|---|
FacetResult |
RandomSamplingFacetsCollector.amortizeFacetCounts(FacetResult res,
FacetsConfig config,
IndexSearcher searcher)
Note: if you use a counting
Facets implementation, you can amortize the
sampled counts by calling this method. |
FacetResult |
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.
|
FacetResult |
MultiFacets.getTopChildren(int topN,
String dim,
String... path) |
FacetResult |
StringValueFacetCounts.getTopChildren(int topN,
String dim,
String... path) |
FacetResult |
LongValueFacetCounts.getTopChildren(int topN,
String dim,
String... path) |
FacetResult |
LongValueFacetCounts.getTopChildrenSortByCount(int topN)
Returns the specified top number of facets, sorted by count.
|
Modifier and Type | Method and Description |
---|---|
abstract 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.
|
List<FacetResult> |
MultiFacets.getAllDims(int topN) |
List<FacetResult> |
StringValueFacetCounts.getAllDims(int topN) |
List<FacetResult> |
LongValueFacetCounts.getAllDims(int topN) |
Modifier and Type | Method and Description |
---|---|
FacetResult |
RandomSamplingFacetsCollector.amortizeFacetCounts(FacetResult res,
FacetsConfig config,
IndexSearcher searcher)
Note: if you use a counting
Facets implementation, you can amortize the
sampled counts by calling this method. |
Modifier and Type | Method and Description |
---|---|
FacetResult |
SortedSetDocValuesFacetCounts.getTopChildren(int topN,
String dim,
String... path) |
FacetResult |
ConcurrentSortedSetDocValuesFacetCounts.getTopChildren(int topN,
String dim,
String... path) |
Modifier and Type | Method and Description |
---|---|
List<FacetResult> |
SortedSetDocValuesFacetCounts.getAllDims(int topN) |
List<FacetResult> |
ConcurrentSortedSetDocValuesFacetCounts.getAllDims(int topN) |
Modifier and Type | Method and Description |
---|---|
FacetResult |
FloatTaxonomyFacets.getTopChildren(int topN,
String dim,
String... path) |
FacetResult |
IntTaxonomyFacets.getTopChildren(int topN,
String dim,
String... path) |
Modifier and Type | Method and Description |
---|---|
List<FacetResult> |
TaxonomyFacets.getAllDims(int topN) |
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.