[SERVER-19781] QueryPlanner::plan() can sometimes build collscans for geonear and text queries Created: 05/Aug/15  Updated: 21/Aug/15  Resolved: 21/Aug/15

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

Type: Improvement Priority: Major - P3
Reporter: Qingyang Chen Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-19593 Allow collscans on $snapshot queries ... Closed
Duplicate
duplicates SERVER-15688 Text queries on capped collection inc... Closed
Participants:

 Description   

At the bottom of QueryPlanner::plan() we have a possibleToCollscan variable that checks for geonear or text queries. This should be at the top of the function and used in all places that may buildCollscanSoln.



 Comments   
Comment by J Rassi [ 21/Aug/15 ]

Closing as a dup of SERVER-15688.

Comment by Qingyang Chen [ 05/Aug/15 ]

Discovered in SERVER-19593, and should do after SERVER-19593 is completed.

Generated at Thu Feb 08 03:52:03 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.