[SERVER-40253] Pipelines with text search queries should be eligible for being optimized away Created: 21/Mar/19  Updated: 18/Dec/19  Resolved: 18/Dec/19

Status: Closed
Project: Core Server
Component/s: Aggregation Framework, Querying
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Anton Korshunov Assignee: David Storch
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-43816 Push $text and $sort with $meta in th... Closed
Related
related to SERVER-24860 Optimize away entire pipeline if it c... Closed
Sprint: Query 2019-12-16, Query 2019-12-30
Participants:

 Description   

This is a follow on ticket for SERVER-24860. We currently cannot optimize away a pipeline if it contains a text search query, as the optimized query plan includes an extra $textScore field. We should investigate it and enable the optimization for such pipelines.



 Comments   
Comment by David Storch [ 18/Dec/19 ]

This work has been completed under SERVER-43816. I am resolving this ticket as a duplicate.

Comment by David Storch [ 07/Dec/19 ]

Assigning to myself for this sprint, since it looks like I will achieve it as part of SERVER-43816.

Comment by David Storch [ 17/Oct/19 ]

I suspect this is doable now that we have changed how metadata flows between the PlanStage and DocumentSource layer. Flagging for re-triage.

Generated at Thu Feb 08 04:54:28 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.