elasticsearch/elasticsearch — Issue #1423: indexing option ignored in index_stats
Author: clintongormley
Created: 2011-10-25 17:11:13+00:00
State: open

With '`clear=true` and `indexing=true`, should get indexing stats back, but it is ignored

curl -XGET 'http://127.0.0.1:9200/es_test_1/_stats?indexing=true&types=type_1&pretty=1&clear=true'

# [Tue Oct 25 19:09:14 2011] Response:
# {
# "ok" : true,
# "_all" : {
# "primaries" : {},
# "indices" : {
# "es_test_1" : {
# "primaries" : {},
# "total" : {}
# }
# },
# "total" : {}
# },
# "_shards" : {
# "failed" : 0,
# "successful" : 10,
# "total" : 10
# }
# }