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.
|
post
public ScriptStatisticalFacetExecutor(String scriptLang, String script, ScriptService.ScriptType scriptType, Map<String,Object> params, SearchContext context)
public org.elasticsearch.search.facet.statistical.ScriptStatisticalFacetExecutor.Collector collector()
FacetExecutor
collector
in class FacetExecutor
public InternalFacet buildFacet(String facetName)
FacetExecutor
buildFacet
in class FacetExecutor
Copyright © 2009–2015. All rights reserved.