public class ScriptStatisticalFacetExecutor extends FacetExecutor
FacetExecutor.Mode, FacetExecutor.Post| Constructor and Description |
|---|
ScriptStatisticalFacetExecutor(String scriptLang,
String script,
ScriptService.ScriptType scriptType,
Map<String,Object> params,
SearchContext context) |
| Modifier and Type | Method and Description |
|---|---|
InternalFacet |
buildFacet(String facetName)
Builds the facet.
|
org.elasticsearch.search.facet.statistical.ScriptStatisticalFacetExecutor.Collector |
collector()
A collector based facet implementation, collection the facet as hits match.
|
postpublic ScriptStatisticalFacetExecutor(String scriptLang, String script, ScriptService.ScriptType scriptType, Map<String,Object> params, SearchContext context)
public org.elasticsearch.search.facet.statistical.ScriptStatisticalFacetExecutor.Collector collector()
FacetExecutorcollector in class FacetExecutorpublic InternalFacet buildFacet(String facetName)
FacetExecutorbuildFacet in class FacetExecutorCopyright © 2009–2016. All rights reserved.