From bc90e73932c62de839f78f32c27704c6b8ba53a3 Mon Sep 17 00:00:00 2001 From: Clinton Gormley Date: Wed, 19 Jun 2013 13:18:55 +0200 Subject: [PATCH] Expose fielddata "fields" param in standard in indicesStatsRequest Closes #3205 --- .../rest/action/admin/indices/stats/RestIndicesStatsAction.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/org/elasticsearch/rest/action/admin/indices/stats/RestIndicesStatsAction.java b/src/main/java/org/elasticsearch/rest/action/admin/indices/stats/RestIndicesStatsAction.java index fd18755d817..0dc1bb08e10 100644 --- a/src/main/java/org/elasticsearch/rest/action/admin/indices/stats/RestIndicesStatsAction.java +++ b/src/main/java/org/elasticsearch/rest/action/admin/indices/stats/RestIndicesStatsAction.java @@ -122,6 +122,7 @@ public class RestIndicesStatsAction extends BaseRestHandler { indicesStatsRequest.filterCache(request.paramAsBoolean("filter_cache", indicesStatsRequest.filterCache())); indicesStatsRequest.idCache(request.paramAsBoolean("id_cache", indicesStatsRequest.idCache())); indicesStatsRequest.fieldData(request.paramAsBoolean("fielddata", indicesStatsRequest.fieldData())); + indicesStatsRequest.fieldDataFields(request.paramAsStringArray("fields", null)); client.admin().indices().stats(indicesStatsRequest, new ActionListener() { @Override