public class TermsLookupQueryBuilder extends QueryBuilder
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
EMPTY_PARAMS
Constructor and Description |
---|
TermsLookupQueryBuilder(String name) |
Modifier and Type | Method and Description |
---|---|
void |
doXContent(XContentBuilder builder,
ToXContent.Params params) |
TermsLookupQueryBuilder |
lookupId(String lookupId)
Sets the doc id to lookup the terms from.
|
TermsLookupQueryBuilder |
lookupIndex(String lookupIndex)
Sets the index name to lookup the terms from.
|
TermsLookupQueryBuilder |
lookupPath(String lookupPath)
Sets the path within the document to lookup the terms from.
|
TermsLookupQueryBuilder |
lookupRouting(String lookupRouting) |
TermsLookupQueryBuilder |
lookupType(String lookupType)
Sets the index type to lookup the terms from.
|
TermsLookupQueryBuilder |
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 TermsLookupQueryBuilder(String name)
public TermsLookupQueryBuilder queryName(String queryName)
public TermsLookupQueryBuilder lookupIndex(String lookupIndex)
public TermsLookupQueryBuilder lookupType(String lookupType)
public TermsLookupQueryBuilder lookupId(String lookupId)
public TermsLookupQueryBuilder lookupPath(String lookupPath)
public TermsLookupQueryBuilder lookupRouting(String lookupRouting)
public void doXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
doXContent
in class QueryBuilder
IOException
Copyright © 2009–2016. All rights reserved.