public class TermsLookupQueryBuilder extends QueryBuilder
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsEMPTY_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.
|
toXContentbuildAsBytes, buildAsBytes, toStringpublic 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 QueryBuilderIOExceptionCopyright © 2009–2017. All rights reserved.