[
https://issues.apache.org/jira/browse/USERGRID-1088?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Russo updated USERGRID-1088:
------------------------------------
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"
}
]
}
was:
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"
}
]
}
> 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)