Can somebody tell me please how to set fielddata true for all text fields. I need to sort according them and it throws me an error Fielddata is disabled on text fields by default Here is piece of mapping where street or city are text fields which throws me this error.
"address": {
"properties": {
"city": {
"type": "text",
"boost": 5,
"analyzer": "suggestion"
},
"zip": {
"type": "text"
},
"street": {
"type": "text",
"boost": 7,
"analyzer": "suggestion"
}