public class NestedFacetExecutor extends FacetExecutor
| Modifier and Type | Class and Description |
|---|---|
static class |
NestedFacetExecutor.Collector |
static class |
NestedFacetExecutor.Post |
FacetExecutor.Mode| Constructor and Description |
|---|
NestedFacetExecutor(FacetExecutor facetExecutor,
SearchContext context,
String nestedPath) |
| Modifier and Type | Method and Description |
|---|---|
InternalFacet |
buildFacet(String facetName)
Builds the facet.
|
NestedFacetExecutor.Collector |
collector()
A collector based facet implementation, collection the facet as hits match.
|
NestedFacetExecutor.Post |
post()
A post based facet that executes the facet using the aggregated docs.
|
public NestedFacetExecutor(FacetExecutor facetExecutor, SearchContext context, String nestedPath)
public InternalFacet buildFacet(String facetName)
FacetExecutorbuildFacet in class FacetExecutorpublic NestedFacetExecutor.Collector collector()
FacetExecutorcollector in class FacetExecutorpublic NestedFacetExecutor.Post post()
FacetExecutorFacetExecutor.Post.Collector based implementation.
Can be overridden if a more optimized non collector based implementation can be implemented.post in class FacetExecutorCopyright © 2009–2016. All rights reserved.