Elasticsearch报错:[reason=Fielddata is disabled on text fields by default] xyy123 2023-10-05 167 阅读1分钟 错误报告 在elasticsearch中对text类型的字段进行聚合、排序时,会产生上面的错误 解决策略 把要聚合的字段加上".keyword"就可以了