Package | Description |
---|---|
org.apache.lucene.facet.search |
Faceted Search API
API for faceted search has several interfaces - simple, top level ones, adequate for most users,
and advanced, more complicated ones, for the more advanced users.
|
org.apache.lucene.facet.search.sampling |
Sampling for facets accumulation
|
Modifier and Type | Method and Description |
---|---|
FacetResult |
TopKInEachNodeHandler.rearrangeFacetResult(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.renderFacetResult(IntermediateFacetResult tmpResult) |
FacetResult |
TopKFacetResultsHandler.renderFacetResult(IntermediateFacetResult tmpResult) |
abstract FacetResult |
FacetResultsHandler.renderFacetResult(IntermediateFacetResult tmpResult)
Create a facet result from the temporary result.
|
Modifier and Type | Method and Description |
---|---|
List<FacetResult> |
StandardFacetsAccumulator.accumulate(ScoredDocIDs docids) |
List<FacetResult> |
SamplingWrapper.accumulate(ScoredDocIDs docids) |
abstract List<FacetResult> |
FacetsAccumulator.accumulate(ScoredDocIDs docids)
Accumulate facets over given documents, according to facet requests in effect.
|
List<FacetResult> |
AdaptiveFacetsAccumulator.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 |
TopKInEachNodeHandler.labelResult(FacetResult facetResult) |
void |
TopKFacetResultsHandler.labelResult(FacetResult facetResult) |
abstract void |
FacetResultsHandler.labelResult(FacetResult facetResult)
Label results according to settings in
FacetRequest ,
such as FacetRequest.getNumLabel() . |
FacetResult |
TopKInEachNodeHandler.rearrangeFacetResult(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.
|
Modifier and Type | Method and Description |
---|---|
FacetResult |
Sampler.trimResult(FacetResult facetResult)
Trim the input facet result.
|
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.
|