public class TermsLookupFilterBuilder extends BaseFilterBuilder
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
EMPTY_PARAMS
Constructor and Description |
---|
TermsLookupFilterBuilder(String name) |
Modifier and Type | Method and Description |
---|---|
TermsLookupFilterBuilder |
cache(boolean cache) |
TermsLookupFilterBuilder |
cacheKey(String cacheKey) |
void |
doXContent(XContentBuilder builder,
ToXContent.Params params) |
TermsLookupFilterBuilder |
filterName(String filterName)
Sets the filter name for the filter that can be used when searching for matched_filters per hit.
|
TermsLookupFilterBuilder |
lookupCache(boolean lookupCache) |
TermsLookupFilterBuilder |
lookupId(String lookupId)
Sets the doc id to lookup the terms from.
|
TermsLookupFilterBuilder |
lookupIndex(String lookupIndex)
Sets the index name to lookup the terms from.
|
TermsLookupFilterBuilder |
lookupPath(String lookupPath)
Sets the path within the document to lookup the terms from.
|
TermsLookupFilterBuilder |
lookupRouting(String lookupRouting) |
TermsLookupFilterBuilder |
lookupType(String lookupType)
Sets the index type to lookup the terms from.
|
buildAsBytes, buildAsBytes, toString, toXContent
public TermsLookupFilterBuilder(String name)
public TermsLookupFilterBuilder filterName(String filterName)
public TermsLookupFilterBuilder lookupIndex(String lookupIndex)
public TermsLookupFilterBuilder lookupType(String lookupType)
public TermsLookupFilterBuilder lookupId(String lookupId)
public TermsLookupFilterBuilder lookupPath(String lookupPath)
public TermsLookupFilterBuilder lookupRouting(String lookupRouting)
public TermsLookupFilterBuilder lookupCache(boolean lookupCache)
public TermsLookupFilterBuilder cache(boolean cache)
public TermsLookupFilterBuilder cacheKey(String cacheKey)
public void doXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
doXContent
in class BaseFilterBuilder
IOException
Copyright © 2009–2015. All rights reserved.