indexing option ignored in index_stats, closes #1423.

This commit is contained in:
Shay Banon 2011-10-25 20:20:43 +02:00
parent f9d0e82389
commit 2778a6756c
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ public class RestIndicesStatsAction extends BaseRestHandler {
indicesStatsRequest.docs(request.paramAsBoolean("docs", indicesStatsRequest.docs()));
indicesStatsRequest.store(request.paramAsBoolean("store", indicesStatsRequest.store()));
indicesStatsRequest.indexing(request.paramAsBoolean("indexing", indicesStatsRequest.indexing()));
indicesStatsRequest.indexing(request.paramAsBoolean("get", indicesStatsRequest.get()));
indicesStatsRequest.get(request.paramAsBoolean("get", indicesStatsRequest.get()));
indicesStatsRequest.merge(request.paramAsBoolean("merge", indicesStatsRequest.merge()));
indicesStatsRequest.refresh(request.paramAsBoolean("refresh", indicesStatsRequest.refresh()));
indicesStatsRequest.flush(request.paramAsBoolean("flush", indicesStatsRequest.flush()));