Allow $regex to be specified in partial index document filter

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Index Maintenance, Querying
    • None
    • Query Optimization
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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. 
      

              Assignee:
              [DO NOT USE] Backlog - Query Optimization
              Reporter:
              Katya Kamenieva
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated: