• Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Index Maintenance
    • Labels:
      None

      Some times, we need indexing of type:

      index each value of "attr1" + any document with value "attr2='ccc'"

       

      {
          $or:[ {attr1: 1}, {attr2: 'static value'}]
      }

      In general, we need to customise indexing behaviour. (using predicats or function) 

       

            Assignee:
            daniel.hatcher@mongodb.com Danny Hatcher (Inactive)
            Reporter:
            rafikalid RAFIK
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: