* _index: fadel
* _type: product
* _id: 103|2
* _version: 1
* _score: 1
* _source: {
o code: 35569058
o manufacturer: Packard Bell
o tax_class_id: [ ]
o visibility: 4
o price: [ ]
o in_stock: 1
o .....
o ....
Ads
* _index: fadel
* _type: ads
* _id: 92
* _version: 1
* _score: 1
* _source: {
o customer_id: 2
o ads_id: 92
o product_id: 28
o price_current: 1200.0000
o is_pro_customer: 0
o state: 13
o qty_current: 19
}
* fields: {
o _parent: 28|2
}
so how can i get all ads for a product, and how I can retrieve the
associated product to an ad
PS : 1 product may have one or more ads, but an ad associated to 1 product
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.