mirror of
https://github.com/FerretDB/documentdb.git
synced 2026-11-25 11:49:53 -05:00
### Does this PR have any customer impact? ### Type (Feature, Refactoring, Bugfix, DevOps, Testing, Perf, etc) ### Does it involve schema level changes? (Table, Column, Index, UDF, etc level changes) ### Release Note (Refer [Template](../docs/release_notes/pgmongo_template.md)) ### Description Lookup Index pushdown: Allow index pushdown of lookup queries for both left and right queries. For _id joins, push to the B-tree index and use the object_id column. For RUM indexes, introduce a new function and support that allows pushing to the index based on the specified path rather than the document itself. This caused a customer $lookup query to go from taking 45+ mins and timing out to finishing in under 3 mins