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)
FacetExecutor
buildFacet
in class FacetExecutor
public NestedFacetExecutor.Collector collector()
FacetExecutor
collector
in class FacetExecutor
public NestedFacetExecutor.Post post()
FacetExecutor
FacetExecutor.Post.Collector
based implementation.
Can be overridden if a more optimized non collector based implementation can be implemented.post
in class FacetExecutor
Copyright © 2009–2015. All rights reserved.