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

Index on key anywhere in the document

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Index Maintenance
    • Query Optimization

    Description

      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".

      Attachments

        Activity

          People

            backlog-query-optimization Backlog - Query Optimization
            leanberw Lean Berw
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: