BoolQueryBuilder instead.@Deprecated public class FilteredQueryBuilder extends QueryBuilder implements BoostableQueryBuilder<FilteredQueryBuilder>
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsEMPTY_PARAMS| コンストラクタと説明 |
|---|
FilteredQueryBuilder(QueryBuilder queryBuilder,
QueryBuilder filterBuilder)
非推奨です。
A query that applies a filter to the results of another query.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
FilteredQueryBuilder |
boost(float boost)
非推奨です。
Sets the boost for this query.
|
protected void |
doXContent(XContentBuilder builder,
ToXContent.Params params)
非推奨です。
|
FilteredQueryBuilder |
queryName(String queryName)
非推奨です。
Sets the query name for the filter that can be used when searching for matched_filters per hit.
|
toXContentbuildAsBytes, buildAsBytes, toStringpublic FilteredQueryBuilder(@Nullable QueryBuilder queryBuilder, @Nullable QueryBuilder filterBuilder)
queryBuilder - The query to apply the filter to (Can be null)filterBuilder - The filter to apply on the query (Can be null)public FilteredQueryBuilder boost(float boost)
boost インタフェース内 BoostableQueryBuilder<FilteredQueryBuilder>public FilteredQueryBuilder queryName(String queryName)
protected void doXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
doXContent クラス内 QueryBuilderIOExceptionCopyright © 2009–2016. All rights reserved.