public abstract class FacetExecutor extends Object
collector() method to be implemented,
with an optional post() implementation if specific optimizations can be done.| Modifier and Type | Class and Description |
|---|---|
static class |
FacetExecutor.Collector
Simple extension to
XCollector that implements methods that are typically
not needed when doing collector based faceting. |
static class |
FacetExecutor.Mode
The mode of the execution.
|
static class |
FacetExecutor.Post
A post class extends this class to implement post hits processing.
|
| Constructor and Description |
|---|
FacetExecutor() |
| Modifier and Type | Method and Description |
|---|---|
abstract InternalFacet |
buildFacet(String facetName)
Builds the facet.
|
abstract FacetExecutor.Collector |
collector()
A collector based facet implementation, collection the facet as hits match.
|
FacetExecutor.Post |
post()
A post based facet that executes the facet using the aggregated docs.
|
public abstract InternalFacet buildFacet(String facetName)
public abstract FacetExecutor.Collector collector()
public FacetExecutor.Post post()
FacetExecutor.Post.Collector based implementation.
Can be overridden if a more optimized non collector based implementation can be implemented.Copyright © 2009–2016. All rights reserved.