[SERVER-1820] Regular expression queries don't work with array index key Created: 21/Sep/10  Updated: 12/Jul/16  Resolved: 21/Sep/10

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

Type: Bug Priority: Minor - P4
Reporter: Kyle Banker Assignee: Kristina Chodorow (Inactive)
Resolution: Done Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Operating System: ALL
Participants:

 Description   

db.foo.save(

{a: ["1", "2", "3"]}

)

This works:
db.foo.find(

{a: /1/}

)

This does not:
db.foo.find(

{'a.0': /1/}

)



 Comments   
Comment by auto [ 21/Sep/10 ]

Author:

{'login': '', 'name': 'Kristina Chodorow', 'email': 'k@ubuntu.(none)'}

Message: fixes x.y.N skipping N's elements SERVER-1820
http://github.com/mongodb/mongo/commit/7d3945a8bebcfd5c1895d8d2eb36465e7b6131a9

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