Package | Description |
---|---|
org.apache.lucene.facet.search |
Faceted Search API
|
org.apache.lucene.facet.search.sampling |
Sampling for facets accumulation
|
Modifier and Type | Method and Description |
---|---|
FacetResult |
TopKFacetResultsHandler.rearrangeFacetResult(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 |
TopKInEachNodeHandler.rearrangeFacetResult(FacetResult facetResult) |
FacetResult |
TopKFacetResultsHandler.renderFacetResult(IntermediateFacetResult tmpResult) |
abstract FacetResult |
FacetResultsHandler.renderFacetResult(IntermediateFacetResult tmpResult)
Create a facet result from the temporary result.
|
FacetResult |
TopKInEachNodeHandler.renderFacetResult(IntermediateFacetResult tmpResult) |
Modifier and Type | Method and Description |
---|---|
List<FacetResult> |
StandardFacetsAccumulator.accumulate(ScoredDocIDs docids) |
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> |
FacetsCollector.getFacetResults()
Return accumulated facets results (according to faceted search parameters)
for collected documents.
|
Modifier and Type | Method and Description |
---|---|
void |
TopKFacetResultsHandler.labelResult(FacetResult facetResult) |
abstract void |
FacetResultsHandler.labelResult(FacetResult facetResult)
Label results according to settings in
FacetRequest ,
such as FacetRequest.getNumLabel() . |
void |
TopKInEachNodeHandler.labelResult(FacetResult facetResult) |
FacetResult |
TopKFacetResultsHandler.rearrangeFacetResult(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 |
TopKInEachNodeHandler.rearrangeFacetResult(FacetResult facetResult) |
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> |
SamplingAccumulator.accumulate(ScoredDocIDs docids) |
Modifier and Type | Method and 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) . |