Skip to content

Commit

Permalink
Merge pull request #934 from TTalex/cleaned-section-index
Browse files Browse the repository at this point in the history
New index creation: data.cleaned_section on analysis db
  • Loading branch information
shankari authored Sep 29, 2023
2 parents 02f966f + 0694a71 commit bc78230
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions emission/core/get_database.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit bc78230

Please sign in to comment.