Package | Description |
---|---|
org.apache.lucene.demo.facet |
Facets example code.
|
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 |
SimpleSortedSetFacetsExample.runDrillDown()
Runs the drill-down example.
|
FacetResult |
SimpleFacetsExample.runDrillDown()
Runs the drill-down example.
|
FacetResult |
AssociationsFacetsExample.runDrillDown()
Runs the drill-down example.
|
FacetResult |
ExpressionAggregationFacetsExample.runSearch()
Runs the search example.
|
FacetResult |
DistanceFacetsExample.search()
User runs a query and counts facets.
|
FacetResult |
RangeFacetsExample.search()
User runs a query and counts facets.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<FacetResult> |
SimpleFacetsExample.runDrillSideways()
Runs the drill-sideways example.
|
java.util.List<FacetResult> |
SimpleFacetsExample.runFacetOnly()
Runs the search example.
|
java.util.List<FacetResult> |
SimpleSortedSetFacetsExample.runSearch()
Runs the search example.
|
java.util.List<FacetResult> |
SimpleFacetsExample.runSearch()
Runs the search example.
|
java.util.List<FacetResult> |
MultiCategoryListsFacetsExample.runSearch()
Runs the search example.
|
java.util.List<FacetResult> |
AssociationsFacetsExample.runSumAssociations()
Runs summing association example.
|
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.
|
FacetResult |
MultiFacets.getTopChildren(int topN,
java.lang.String dim,
java.lang.String... path) |
FacetResult |
LongValueFacetCounts.getTopChildren(int topN,
java.lang.String dim,
java.lang.String... path) |
abstract FacetResult |
Facets.getTopChildren(int topN,
java.lang.String dim,
java.lang.String... path)
Returns the topN child labels under the specified
path.
|
FacetResult |
LongValueFacetCounts.getTopChildrenSortByCount(int topN)
Returns the specified top number of facets, sorted by count.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<FacetResult> |
MultiFacets.getAllDims(int topN) |
java.util.List<FacetResult> |
LongValueFacetCounts.getAllDims(int topN) |
abstract java.util.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.
|
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,
java.lang.String dim,
java.lang.String... path) |
FacetResult |
ConcurrentSortedSetDocValuesFacetCounts.getTopChildren(int topN,
java.lang.String dim,
java.lang.String... path) |
Modifier and Type | Method and Description |
---|---|
java.util.List<FacetResult> |
SortedSetDocValuesFacetCounts.getAllDims(int topN) |
java.util.List<FacetResult> |
ConcurrentSortedSetDocValuesFacetCounts.getAllDims(int topN) |
Modifier and Type | Method and Description |
---|---|
FacetResult |
FloatTaxonomyFacets.getTopChildren(int topN,
java.lang.String dim,
java.lang.String... path) |
FacetResult |
IntTaxonomyFacets.getTopChildren(int topN,
java.lang.String dim,
java.lang.String... path) |
Modifier and Type | Method and Description |
---|---|
java.util.List<FacetResult> |
TaxonomyFacets.getAllDims(int topN) |
Copyright © 2000–2019 The Apache Software Foundation. All rights reserved.