Mapping: Array Type vs Text Type(with fielddata set to true)

Hi,

By default, the doc_values setting is true In keyword datatype field .
So it doesn't consume so many heap at aggregation.

On the other hand, text type field may not necessary (it depends on your use case)