sorry if this question was already answered, but I havent found any
answer on my problem.
Example:
I have a database of school with classes and kids. Each class have name,
year ... and an array of subobjects - kids.
...
{
name: "A",
year: "2",
kids: [
{ firstName: "Peter", lastName: "Jackson"}
]
},
{
name: "B",
year: "1",
kids: [
{ firstName: "Peter", lastName: "Pan"},
{ firstName: "Michael", lastName: "Jackson"}
]
}
...
The data are nice stored (indexed) in elastic search, everything seems to
be OK.
So now here is the Question...
*
* Find classes where "Peter Jackson" ist.
That's working. I have try the parent/child way too.
Am Montag, 3. September 2012 17:52:43 UTC+2 schrieb David Pilato:
Have a look at nested docs.
HTH
David
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
Le 3 sept. 2012 à 15:06, MMM <hom...@gmail.com <javascript:>> a écrit :
Hello,
sorry if this question was already answered, but I havent found any
answer on my problem.
Example:
I have a database of school with classes and kids. Each class have name,
year ... and an array of subobjects - kids.
...
{
name: "A",
year: "2",
kids: [
{ firstName: "Peter", lastName: "Jackson"}
]
},
{
name: "B",
year: "1",
kids: [
{ firstName: "Peter", lastName: "Pan"},
{ firstName: "Michael", lastName: "Jackson"}
]
}
...
The data are nice stored (indexed) in Elasticsearch, everything seems to
be OK.
So now here is the Question...
*
* Find classes where "Peter Jackson" ist.
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.