mirror of
https://github.com/simon987/od-database.git
synced 2025-04-04 06:52:59 +00:00
total size #26
This commit is contained in:
parent
e8f0f96148
commit
3df667deb4
@ -438,7 +438,7 @@ class ElasticSearchEngine:
|
||||
stats["es_search_time_avg"] = stats["es_search_time"] / (
|
||||
stats["es_search_count"] if stats["es_search_count"] != 0 else 1)
|
||||
|
||||
stats["total_count"] = total_stats["hits"]["total"]
|
||||
stats["total_count"] = total_stats["aggregations"]["file_stats"]["count"]
|
||||
stats["total_size"] = total_stats["aggregations"]["file_stats"]["sum"]
|
||||
stats["size_avg"] = total_stats["aggregations"]["file_stats"]["avg"]
|
||||
stats["size_std_deviation"] = total_stats["aggregations"]["file_stats"]["std_deviation"]
|
||||
|
Loading…
x
Reference in New Issue
Block a user