[SERVER-12557] $exists could use index Created: 31/Jan/14  Updated: 11/Jul/16  Resolved: 02/Mar/14

Status: Closed
Project: Core Server
Component/s: Querying
Affects Version/s: 2.5.5
Fix Version/s: 2.6.0-rc1

Type: Bug Priority: Major - P3
Reporter: hari.khalsa@10gen.com Assignee: Samantha Ritter (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by SERVER-12905 {$exists:false} performance regression Closed
is duplicated by SERVER-12262 Use full index scan as proxy for coll... Closed
Related
related to SERVER-12869 Index null values and missing values ... Backlog
is related to SERVER-4187 automatically pick sparse indexes for... Closed
Operating System: ALL
Participants:

 Description   

$exists: true could scan any index (but ignore the no-such-field-key if the index is sparse).

$exists: false could scan a non-sparse index for the no-such-field key.



 Comments   
Comment by Githook User [ 28/Feb/14 ]

Author:

{u'username': u'samantharitter', u'name': u'Samantha Ritter', u'email': u'samantha.ritter@10gen.com'}

Message: SERVER-12557 allow exists queries to use an index

Signed-off-by: Matt Kangas <matt.kangas@mongodb.com>
Branch: master
https://github.com/mongodb/mongo/commit/cd62080dcb036e83f8fca6d68d9bcab67bf7a21c

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