I'm trying to create a query that will search an array of nested objects.
Let's assume my JSON document represents a user. My document structure
looks like this:
"first_name": "James",
"last_name": "Hines",
"generalText":[
{
"textTitle":"Lorem ipsum dolor sit amet",
"description":"The quick brown fox jumped over the lazy
dog."
},
{
"textTitle":"Lorem ipsum dolor sit amet",
"description":"The quick brown fox jumped over the lazy
dog."
}
]
I would like to be able query the textTitle and/or the description.
On Sat, Mar 24, 2012 at 2:04 AM, James Hines jhines@pykl.com wrote:
I'm trying to create a query that will search an array of nested objects.
Let's assume my JSON document represents a user. My document structure
looks like this:
"first_name": "James",
"last_name": "Hines",
"generalText":[
{
"textTitle":"Lorem ipsum dolor sit amet",
"description":"The quick brown fox jumped over the lazy
dog."
},
{
"textTitle":"Lorem ipsum dolor sit amet",
"description":"The quick brown fox jumped over the lazy
dog."
}
]
I would like to be able query the textTitle and/or the description.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.