Package | Description |
---|---|
org.apache.lucene.facet.old |
Old faceted search API, kept until complements, sampling and partitions are migrated to the new API.
|
org.apache.lucene.facet.partitions |
Category Partitions
|
org.apache.lucene.facet.range |
Code to compute facets for numeric ranges.
|
org.apache.lucene.facet.sampling |
Facets sampling.
|
org.apache.lucene.facet.search |
Facets search code.
|
org.apache.lucene.facet.sortedset |
Classes to perform faceting without a separate taxonomy index, using on SortedSetDocValuesField.
|
Modifier and Type | Method and Description |
---|---|
List<FacetResult> |
OldFacetsAccumulator.accumulate(List<FacetsCollector.MatchingDocs> matchingDocs) |
List<FacetResult> |
OldFacetsAccumulator.accumulate(ScoredDocIDs docids) |
List<FacetResult> |
AdaptiveFacetsAccumulator.accumulate(ScoredDocIDs docids) |
Modifier and Type | Method and Description |
---|---|
FacetResult |
PartitionsFacetResultsHandler.compute() |
abstract FacetResult |
PartitionsFacetResultsHandler.rearrangeFacetResult(FacetResult facetResult)
Perform any rearrangement as required on a facet result that has changed after
it was rendered.
|
abstract FacetResult |
PartitionsFacetResultsHandler.renderFacetResult(IntermediateFacetResult tmpResult)
Create a facet result from the temporary result.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
PartitionsFacetResultsHandler.labelResult(FacetResult facetResult)
Label results according to settings in
FacetRequest , such as
FacetRequest.getNumLabel() . |
abstract FacetResult |
PartitionsFacetResultsHandler.rearrangeFacetResult(FacetResult facetResult)
Perform any rearrangement as required on a facet result that has changed after
it was rendered.
|
Modifier and Type | Method and Description |
---|---|
List<FacetResult> |
RangeAccumulator.accumulate(List<FacetsCollector.MatchingDocs> matchingDocs) |
Modifier and Type | Method and Description |
---|---|
FacetResult |
Sampler.trimResult(FacetResult facetResult)
Trim the input facet result.
Note: It is only valid to call this method with result obtained for a facet request created through Sampler.overSampledSearchParams(FacetSearchParams) . |
Modifier and Type | Method and Description |
---|---|
List<FacetResult> |
SamplingWrapper.accumulate(ScoredDocIDs docids) |
List<FacetResult> |
SamplingAccumulator.accumulate(ScoredDocIDs docids) |
Modifier and Type | Method and Description |
---|---|
void |
SampleFixer.fixResult(ScoredDocIDs origDocIds,
FacetResult fres,
double samplingRatio)
Alter the input result, fixing it to account for the sampling.
|
FacetResult |
Sampler.trimResult(FacetResult facetResult)
Trim the input facet result.
Note: It is only valid to call this method with result obtained for a facet request created through Sampler.overSampledSearchParams(FacetSearchParams) . |
Modifier and Type | Field and Description |
---|---|
List<FacetResult> |
DrillSideways.DrillSidewaysResult.facetResults
Combined drill down & sideways results.
|
Modifier and Type | Method and Description |
---|---|
abstract FacetResult |
FacetResultsHandler.compute()
Computes the
FacetResult for the given FacetArrays . |
FacetResult |
DepthOneFacetResultsHandler.compute() |
protected static FacetResult |
FacetsAccumulator.emptyResult(int ordinal,
FacetRequest fr)
Returns an empty
FacetResult . |
FacetResult |
TopKFacetResultsHandler.rearrangeFacetResult(FacetResult facetResult) |
FacetResult |
TopKInEachNodeHandler.rearrangeFacetResult(FacetResult facetResult) |
FacetResult |
TopKFacetResultsHandler.renderFacetResult(IntermediateFacetResult tmpResult) |
FacetResult |
TopKInEachNodeHandler.renderFacetResult(IntermediateFacetResult tmpResult) |
Modifier and Type | Method and Description |
---|---|
abstract List<FacetResult> |
FacetsAccumulator.accumulate(List<FacetsCollector.MatchingDocs> matchingDocs)
Used by
FacetsCollector to build the list of facet results that match the facet requests that were
given in the constructor. |
List<FacetResult> |
MultiFacetsAccumulator.accumulate(List<FacetsCollector.MatchingDocs> matchingDocs) |
List<FacetResult> |
TaxonomyFacetsAccumulator.accumulate(List<FacetsCollector.MatchingDocs> matchingDocs)
Used by
FacetsCollector to build the list of facet results that match the facet requests that were
given in the constructor. |
List<FacetResult> |
FacetsCollector.getFacetResults()
|
static List<FacetResult> |
FacetResult.mergeHierarchies(List<FacetResult> results,
TaxonomyReader taxoReader,
Map<String,FacetArrays> dimArrays)
A utility for merging multiple
FacetResult of the same
(hierarchical) dimension into a single FacetResult , to reconstruct
the hierarchy. |
Modifier and Type | Method and Description |
---|---|
void |
TopKFacetResultsHandler.labelResult(FacetResult facetResult) |
void |
TopKInEachNodeHandler.labelResult(FacetResult facetResult) |
FacetResult |
TopKFacetResultsHandler.rearrangeFacetResult(FacetResult facetResult) |
FacetResult |
TopKInEachNodeHandler.rearrangeFacetResult(FacetResult facetResult) |
Modifier and Type | Method and Description |
---|---|
static List<FacetResult> |
FacetResult.mergeHierarchies(List<FacetResult> results,
TaxonomyReader taxoReader,
Map<String,FacetArrays> dimArrays)
A utility for merging multiple
FacetResult of the same
(hierarchical) dimension into a single FacetResult , to reconstruct
the hierarchy. |
Constructor and Description |
---|
DrillSideways.DrillSidewaysResult(List<FacetResult> facetResults,
TopDocs hits) |
Modifier and Type | Method and Description |
---|---|
List<FacetResult> |
SortedSetDocValuesAccumulator.accumulate(List<FacetsCollector.MatchingDocs> matchingDocs) |
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.