Enable Fielddata On Text Fields
PUT my_index/_mapping/my_type
{
“properties”: {
“my_field”: {
“type”: “text”,
“fielddata”: true
}
}
}
PUT my_index/_mapping/my_type
{
“properties”: {
“my_field”: {
“type”: “text”,
“fielddata”: true
}
}
}