From 05f98634d89652eea7a289c56ccd145be0826c8a Mon Sep 17 00:00:00 2001 From: Shay Banon Date: Tue, 22 Nov 2011 15:57:54 +0200 Subject: [PATCH] IndicesQueryBuilder generates the wrong query name, closes #1485. --- .../java/org/elasticsearch/index/query/IndicesQueryBuilder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/elasticsearch/src/main/java/org/elasticsearch/index/query/IndicesQueryBuilder.java b/modules/elasticsearch/src/main/java/org/elasticsearch/index/query/IndicesQueryBuilder.java index 0a6187132c2..de87123bac2 100644 --- a/modules/elasticsearch/src/main/java/org/elasticsearch/index/query/IndicesQueryBuilder.java +++ b/modules/elasticsearch/src/main/java/org/elasticsearch/index/query/IndicesQueryBuilder.java @@ -39,7 +39,7 @@ public class IndicesQueryBuilder extends BaseQueryBuilder { } @Override protected void doXContent(XContentBuilder builder, Params params) throws IOException { - builder.startObject(CustomBoostFactorQueryParser.NAME); + builder.startObject(IndicesQueryParser.NAME); builder.field("query"); queryBuilder.toXContent(builder, params); builder.field("indices", indices);