Index on key anywhere in the document

XMLWordPrintableJSON

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

      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:
            [DO NOT USE] Backlog - Query Optimization
            Reporter:
            Lean Berw
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: