I am using JSON-LD, which boils down to something like this
{
...
"_source" : {
"@context" : { "rel" : "..." },
"@id" : 476,
"@type" : " .... ",
"description" : "Product description",
"a8" : "100 mm",
"a12" : "250 g",
"categories" : [ 8, 4213 ],
"rel:hasDispenser" : [
"prod_id_x",
"prod_id_y"
],
"rel:hasDisposable" : [
"prod_id_z"
]
}
}
and it is possible to lay aggregations over rel:hasDispenser and
rel:hasDisposable.
Does this help?
Jörg
--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/CAKdsXoEQccntkXvOANxLB7oaJ69j20LrutSLkOkpgJXj7HCiHQ%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.