[SERVER-55782] Allow $regex to be specified in partial index document filter Created: 05/Apr/21  Updated: 06/Dec/22

Status: Backlog
Project: Core Server
Component/s: Index Maintenance, Querying
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Katya Kamenieva Assignee: Backlog - Query Optimization
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-18884 Allow $in to be specified in partial ... Closed
Assigned Teams:
Query Optimization
Participants:

 Description   

Users should be able to specify $regex predicate operators as part of a partial index document filter.

db.collection.ensureIndex({a: 1}, {partialFilterExpression: {b: /bar/}});
db.collection.find({a: 1, b: "foobar"}); // Should be able to use the above index. 


Generated at Thu Feb 08 05:37:27 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.