Expose fielddata "fields" param in standard in indicesStatsRequest

Closes #3205
This commit is contained in:
Clinton Gormley 2013-06-19 13:18:55 +02:00
parent b27ad99b8d
commit bc90e73932
1 changed files with 1 additions and 0 deletions

View File

@ -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<IndicesStatsResponse>() {
@Override