About facet, for some dynamic fields(fields we don't know their names)

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 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 elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

When a new field is added to the document type, the mapping is
automatically updated by default. You can get the mapping and facet on
whichever fields you want.

Cheers,

Ivan

On Fri, Oct 11, 2013 at 2:03 AM, Seven Q anson.kyo@gmail.com 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!!!

--
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 elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
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 elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.