Hello guys! I`m need create index Product collection, wich has
the following structure:
{
"_id": ObjectId("5239656f60663de206b1053e"),
"category": {
"$ref": "Category",
"$id": ObjectId("50cb515760663d3577000043"),
"$db": ""
},
"name": ""
}
Field 'category' is link to another row from Category collection, I need
create an index, which would have the following structure:
{
"_id": "",
"name": "",
"category": ""
}
That is i get productName from Product collection and categoryName from
Category collection. Any idea?
The river support parent / child. See [1] and [2].
[1] -
[2] -
On Wednesday, December 4, 2013 3:31:12 AM UTC-5, Игорь Парамонов wrote:
Hello guys! I`m need create index Product collection, wich has
the following structure:
{
"_id": ObjectId("5239656f60663de206b1053e"),
"category": {
"$ref": "Category",
"$id": ObjectId("50cb515760663d3577000043"),
"$db": ""
},
"name": ""
}
Field 'category' is link to another row from Category collection, I need
create an index, which would have the following structure:
{
"_id": "",
"name": "",
"category": ""
}
That is i get productName from Product collection and categoryName from
Category collection. Any idea?
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.