Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-22194

partialFilterExpression error - Index with pattern {...} already exists with different options

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Duplicate
    • 3.2.0
    • None
    • Index Maintenance
    • None
    • ALL

    Description

      Developer can't create two same indexes with different partialExpressions, for example:
      Developer needs to create indexes with same patterns for types: 'a' and 'b', but not for 'c' and 'd'.
      But he's limited (can't use) $in and $or in partialFilterExpression. He also can't create two different indexes with partialFilterExpression:

      {type:1}

      and partialFilterExpression:

      {type:2}

      Attachments

        Issue Links

          Activity

            People

              kelsey.schubert@mongodb.com Kelsey Schubert
              FanAs Artyom Fanasov
              Votes:
              2 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: