Need help getting dynamic facets for the aggregation

Hi All,

I builded index with the help of following git hub issue to get the dynamic
fields as facets.

I have the following schema to index two values PROPERTY1 and PROPERTY2.

"props": {

             "type": "nested",

             "properties": {

                "key": {

                   "type": "string",

                   "index": "not_analyzed"


                "value": {

                   "type": "string",

                   "index": "not_analyzed"



Now i want to display the top ten facets for those dynamic fields.please
suggest me in this.



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
To view this discussion on the web visit
For more options, visit