public class ScriptQueryBuilder extends QueryBuilder
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
EMPTY_PARAMS
Constructor and Description |
---|
ScriptQueryBuilder(Script script) |
Modifier and Type | Method and Description |
---|---|
protected void |
doXContent(XContentBuilder builder,
ToXContent.Params builderParams) |
ScriptQueryBuilder |
queryName(String queryName)
Sets the filter name for the filter that can be used when searching for matched_filters per hit.
|
toXContent
buildAsBytes, buildAsBytes, toString
public ScriptQueryBuilder(Script script)
public ScriptQueryBuilder queryName(String queryName)
protected void doXContent(XContentBuilder builder, ToXContent.Params builderParams) throws IOException
doXContent
in class QueryBuilder
IOException
Copyright © 2009–2017. All rights reserved.