Here is the json:
{ "id": "100004",
"description": "some description",
"brand": "brand",
"displayName": "product",
"customProperties": {
"property1": "value1",
"property2": "value2" ....
}
}
child elements of "customProperties" could be added any time, and we can't
know the names.
So,I want to facet all of them one time.
Is there any solutions? I can't find anything about that, can Elasticsearch
support that right now?
Thanks!!!
You can facet on multiple fields at the same time, which results in merging
values coming from different fields into the same facet.
But you do need to know their names, and specify them when asking for the
facet.
On Friday, October 11, 2013 11:03:41 AM UTC+2, Seven Q wrote:
Here is the json:
{ "id": "100004",
"description": "some description",
"brand": "brand",
"displayName": "product",
"customProperties": {
"property1": "value1",
"property2": "value2" ....
}
}
child elements of "customProperties" could be added any time, and we
can't know the names.
So,I want to facet all of them one time.
Is there any solutions? I can't find anything about that, can
Elasticsearch support that right now?
Thanks!!!
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.