The "fielddata" qs param to index stats was setting idCache, not fieldData

Closes #3204
This commit is contained in:
Clinton Gormley 2013-06-19 12:32:30 +02:00
parent 02c6222320
commit b27ad99b8d
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@ public class RestIndicesStatsAction extends BaseRestHandler {
indicesStatsRequest.warmer(request.paramAsBoolean("warmer", indicesStatsRequest.warmer()));
indicesStatsRequest.filterCache(request.paramAsBoolean("filter_cache", indicesStatsRequest.filterCache()));
indicesStatsRequest.idCache(request.paramAsBoolean("id_cache", indicesStatsRequest.idCache()));
indicesStatsRequest.idCache(request.paramAsBoolean("fielddata", indicesStatsRequest.fieldData()));
indicesStatsRequest.fieldData(request.paramAsBoolean("fielddata", indicesStatsRequest.fieldData()));
client.admin().indices().stats(indicesStatsRequest, new ActionListener<IndicesStatsResponse>() {
@Override