Uploaded image for project: 'Usergrid (Retired)'
  1. Usergrid (Retired)
  2. USERGRID-1088

Objects nested in arrays are not getting indexed.

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.1.0
    • None
    • None
    • Usergrid 31

    Description

      In Usergrid, we don't support n+1 arrays for indexing, however if you have objects nested within arrays, we should index the nested object's key/value pairs.

      In the below document, "nestedKey": "nestedValue" and "key": "value" should get indexed. The value "1" in nestedLists should still NOT be indexed.

      {
        "name": "region3",
        "nestedLists": [
          [
            "1"
          ]
        ],
        "nestedObjects": [
          {
            "array": [
              {
                "nestedKey": "nestedValue"
              }
            ],
            "key": "value"
          }
        ]
      }
      

      Attachments

        Issue Links

          Activity

            People

              mrusso Michael Russo
              mrusso Michael Russo
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: