[SERVER-5777] Add support for a range constraint on the first sort field to in/sort/limit optimization Created: 07/May/12  Updated: 28/Oct/15  Resolved: 14/Jun/12

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

Type: New Feature Priority: Major - P3
Reporter: Aaron Staple Assignee: Aaron Staple
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Related
is related to SERVER-5063 $in on first compound key element and... Closed
Participants:

 Description   

Implement the SERVER-5063 optimization for cases like the following:

db.c.find( { a:{ $in:[ 1, 2 ] }, b:{ $gt: 4 } } ).limit( -2 ).sort( { b:1 } ).hint( { a:1, b:1 } )



 Comments   
Comment by auto [ 13/Jun/12 ]

Author:

{u'date': u'2012-06-13T15:38:16-07:00', u'email': u'aaron@10gen.com', u'name': u'Aaron'}

Message: SERVER-5777 Enhance $in/sort/limit optimization to support additional query types.
Branch: master
https://github.com/mongodb/mongo/commit/4d787f2622a2d99b7e85d8768546d9ff428bba18

Comment by auto [ 13/Jun/12 ]

Author:

{u'date': u'2012-06-12T13:18:52-07:00', u'email': u'aaron@10gen.com', u'name': u'Aaron'}

Message: SERVER-5777 Clean FieldRange intersection implementation a bit.
Branch: master
https://github.com/mongodb/mongo/commit/79595b9b6871a96c71898ec56a9c8bfc7f6e6216

Comment by David Wasserstrum [ 23/May/12 ]

We would like to know when it reaches github. This is an important fix for us.

Comment by Ian Whalen (Inactive) [ 22/May/12 ]

@jon, its still on track for 2.1.2 - or were you looking for an ETA on when the commit itself would hit github?

Comment by Jon Hoffman [ 18/May/12 ]

Hi, do you have an ETA for completing this feature?

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