"Fielddata is disabled on text fields by default" error

You probably don’t want to enable fielddata. Usually you want to index it as a keyword (or not analyzed in v2.x) instead which means that ES indexes the whole string and does not split it into multiple values. The text index is for full text data - like a product description.

1 Like