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

Index on key anywhere in the document

    • Type: Icon: New Feature New Feature
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Index Maintenance
    • Query Optimization

      It would be great to have an index feature, so that when I am looking for an "address" it not only looks for it in the main field of the document, but also in the fields of the subdocuments. So it is an index on "address" AND "*.address". This way I can search for "phoneNumber" (e.g. using "*phoneNumber" as the search field name) and MongoDB has an index with all occurrences including "phoneNumber", "leader.phoneNUmber", "guests[].phoneNumber".

            Assignee:
            backlog-query-optimization [DO NOT USE] Backlog - Query Optimization
            Reporter:
            leanberw Lean Berw
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: