Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure sort stage is after match in agg pipeline #881

Merged
merged 1 commit into from Nov 7, 2023

Conversation

munrojm
Copy link
Member

@munrojm munrojm commented Nov 7, 2023

Summary

Ensure the sort stage is before the project stage in the aggregation pipeline so that all MongoDB indexes are properly used.

Copy link

codecov bot commented Nov 7, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (62e6a2e) 87.76% compared to head (430512a) 87.78%.
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #881      +/-   ##
==========================================
+ Coverage   87.76%   87.78%   +0.02%     
==========================================
  Files          44       44              
  Lines        3612     3611       -1     
==========================================
  Hits         3170     3170              
+ Misses        442      441       -1     
Files Coverage Δ
src/maggma/api/resource/utils.py 84.00% <ø> (+3.23%) ⬆️

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@munrojm munrojm merged commit ec788d5 into main Nov 7, 2023
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant