public class ScriptRangeFacetExecutor extends FacetExecutor
FacetExecutor.Mode, FacetExecutor.Post
Constructor and Description |
---|
ScriptRangeFacetExecutor(String scriptLang,
String keyScript,
ScriptService.ScriptType keyScriptType,
String valueScript,
ScriptService.ScriptType valueScriptType,
Map<String,Object> params,
RangeFacet.Entry[] entries,
SearchContext context) |
Modifier and Type | Method and Description |
---|---|
InternalFacet |
buildFacet(String facetName)
Builds the facet.
|
org.elasticsearch.search.facet.range.ScriptRangeFacetExecutor.Collector |
collector()
A collector based facet implementation, collection the facet as hits match.
|
post
public ScriptRangeFacetExecutor(String scriptLang, String keyScript, ScriptService.ScriptType keyScriptType, String valueScript, ScriptService.ScriptType valueScriptType, Map<String,Object> params, RangeFacet.Entry[] entries, SearchContext context)
public org.elasticsearch.search.facet.range.ScriptRangeFacetExecutor.Collector collector()
FacetExecutor
collector
in class FacetExecutor
public InternalFacet buildFacet(String facetName)
FacetExecutor
buildFacet
in class FacetExecutor
Copyright © 2009–2015. All rights reserved.