You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@usergrid.apache.org by "Michael Russo (JIRA)" <ji...@apache.org> on 2015/11/03 20:11:27 UTC

[jira] [Created] (USERGRID-1088) Objects nested in arrays are not getting indexed.

Michael Russo created USERGRID-1088:
---------------------------------------

             Summary: Objects nested in arrays are not getting indexed.
                 Key: USERGRID-1088
                 URL: https://issues.apache.org/jira/browse/USERGRID-1088
             Project: Usergrid
          Issue Type: Bug
            Reporter: Michael Russo


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"
    }
  ]
}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)