Trying to follow the example from here, I marked all of the fields as not indexed - but supposibly they should be aggregate-able.
According to Kibana over the same fields, they are not.
Looking into a solution, enabling doc_values suppose to do it - but seems like it does not work, and the dynamic field created does not have the doc_values enabled.
Meanwhile it seems I must enable indexing for all fields in order to aggregate.
Is this a known issue ?
I am working on ES 5.
Thanks in advance,