-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Query Integration
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Verify that setting $replaceRoot's preserveOrderAndMetadata constraints field's value to true doesn't break any logic and that the REDUNDANT_SORT_REMOVAL rule which relies on checking a given stage's preserveOrderAndMetadata value, can successfully remove redundant $sorts that follow $replaceRoot stages.
This logic will enable optimizations for redundant $sorts that follow $vectorSearch queries with storedSource: true.
- depends on
-
SERVER-123972 Add generic $sort optimization to erase redundant $sorts
-
- Closed
-