diff --git a/emission/core/get_database.py b/emission/core/get_database.py index 291c03303..0939b41d9 100644 --- a/emission/core/get_database.py +++ b/emission/core/get_database.py @@ -260,6 +260,7 @@ def _create_analysis_result_indices(tscoll): tscoll.create_index([("data.duration", pymongo.DESCENDING)], sparse=True) tscoll.create_index([("data.mode", pymongo.ASCENDING)], sparse=True) tscoll.create_index([("data.section", pymongo.ASCENDING)], sparse=True) + tscoll.create_index([("data.cleaned_section", pymongo.ASCENDING)], sparse=True) # recreated location tscoll.create_index([("data.ts", pymongo.DESCENDING)], sparse=True)