Skip to content

Move $search and $vectorSearch to beginning of pipelines #2879

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mcsimps2
Copy link
Contributor

@mcsimps2 mcsimps2 commented Apr 7, 2025

Resolves #2878

The $search and $vectorSearch aggregation pipeline stages are moved to the front of the pipeline, similar to $geoNear and $collStats.

@mcsimps2 mcsimps2 force-pushed the search_first_in_pipeline branch 3 times, most recently from 5b9a1d4 to 75c5e4d Compare April 7, 2025 19:49
@mcsimps2 mcsimps2 force-pushed the search_first_in_pipeline branch from 75c5e4d to f8d43c0 Compare April 10, 2025 20:02
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.

$search must appear as the first stage in an aggregation pipeline
1 participant