Skip to content

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

Open
mcsimps2 wants to merge 1 commit intoMongoEngine:masterfrom
mcsimps2:search_first_in_pipeline
Open

Move $search and $vectorSearch to beginning of pipelines#2879
mcsimps2 wants to merge 1 commit intoMongoEngine:masterfrom
mcsimps2:search_first_in_pipeline

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