Package | Description |
---|---|
org.apache.lucene.facet.search |
Faceted Search API
|
org.apache.lucene.facet.search.sampling |
Sampling for facets accumulation
|
Modifier and Type | Method | Description |
---|---|---|
abstract FacetResult |
FacetResultsHandler.rearrangeFacetResult(FacetResult facetResult) |
Perform any rearrangement as required on a facet result that has changed after
it was rendered.
|
FacetResult |
TopKFacetResultsHandler.rearrangeFacetResult(FacetResult facetResult) |
|
FacetResult |
TopKInEachNodeHandler.rearrangeFacetResult(FacetResult facetResult) |
|
abstract FacetResult |
FacetResultsHandler.renderFacetResult(IntermediateFacetResult tmpResult) |
Create a facet result from the temporary result.
|
FacetResult |
TopKFacetResultsHandler.renderFacetResult(IntermediateFacetResult tmpResult) |
|
FacetResult |
TopKInEachNodeHandler.renderFacetResult(IntermediateFacetResult tmpResult) |
Modifier and Type | Method | Description |
---|---|---|
List<FacetResult> |
AdaptiveFacetsAccumulator.accumulate(ScoredDocIDs docids) |
|
abstract List<FacetResult> |
FacetsAccumulator.accumulate(ScoredDocIDs docids) |
Accumulate facets over given documents, according to facet requests in effect.
|
List<FacetResult> |
SamplingWrapper.accumulate(ScoredDocIDs docids) |
|
List<FacetResult> |
StandardFacetsAccumulator.accumulate(ScoredDocIDs docids) |
|
List<FacetResult> |
FacetsCollector.getFacetResults() |
Return accumulated facets results (according to faceted search parameters)
for collected documents.
|
Modifier and Type | Method | Description |
---|---|---|
abstract void |
FacetResultsHandler.labelResult(FacetResult facetResult) |
Label results according to settings in
FacetRequest ,
such as FacetRequest.getNumLabel() . |
void |
TopKFacetResultsHandler.labelResult(FacetResult facetResult) |
|
void |
TopKInEachNodeHandler.labelResult(FacetResult facetResult) |
|
abstract FacetResult |
FacetResultsHandler.rearrangeFacetResult(FacetResult facetResult) |
Perform any rearrangement as required on a facet result that has changed after
it was rendered.
|
FacetResult |
TopKFacetResultsHandler.rearrangeFacetResult(FacetResult facetResult) |
|
FacetResult |
TopKInEachNodeHandler.rearrangeFacetResult(FacetResult facetResult) |
Modifier and Type | Method | 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 | Description |
---|---|---|
List<FacetResult> |
SamplingAccumulator.accumulate(ScoredDocIDs docids) |
Modifier and Type | Method | Description |
---|---|---|
void |
SampleFixer.fixResult(ScoredDocIDs origDocIds,
FacetResult fres) |
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) . |
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.