关于ES出现Fielddata is disabled on text fields by default的错误
跟着ElasticSearch官网的文档学习,执行以下代码GET/megacorp/employee/_search{"size":0,"aggs":{"all_interests":{"terms":{"field":"interests"}}}}报错如下{"type":"illegal_argument_exception","reason":"Fielddataisdisabledontex