Our elasticsearch instance sometime return meaningless number for terms_stats, query return correct data.
I am using Kibana as front end, this is generated query: {"facets":{"terms":{"terms_stats":{"value_field":"metric","key_field":"host","size":10,"order":"count"},"facet_filter":{"fquery":{"query":{"filtered":{"query":{"bool":{"should":[{"query_string":{"query":"(service:\".StorageProxy.RecentReadLatencyMicros\") AND (layer:\"cassandra\") AND (@timestamp:[now-1m TO now]) AND host:169.26.4.167"}}]}},"filter":{"bool":{"must":[{"range":{"@timestamp":{"from":1408992976055,"to":"now"}}},{"terms":{"host":["169.26.4.167"]}},{"terms":{"host":["169.26.4.167"]}}]}}}}}}}},"size":0} max=4.6366831074216192E+18 mean=1.5455610358072064E+18 min=0 term=169.26.4.167 total=4.6366831074216192E+18 the metric field would have some number between 0 and 100 while the term stat report huge number. If i delete index, it will show correct term stats again. I tried refresh, close/open index, none seem to work except delete the index and recreate it. Have anyone face similar issue? Thanks. -- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/5e141e56-7e01-4899-949f-c3d7f69a353d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.