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

Added match stage before facet to improve performance #61

Merged
merged 1 commit into from
Jul 5, 2024

Conversation

Akalanka47000
Copy link
Contributor

Hello, I happened to notice that facet, if used as the first stage in an aggregate pipeline doesn't use indexes which is a bit problematic. It's described in detail here.

This pr extracts the match stage from the pipeline and adds it before the facet which solves this issue

@aravindnc aravindnc merged commit dde53c3 into aravindnc:master Jul 5, 2024
2 checks passed
@aravindnc
Copy link
Owner

Excellent. Thanks @Akalanka47000

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants