夜莺版本是6.0.0-ga.8,ES的版本是8.7.1,在夜莺上面配置数据源之后,查询会报错
报错内容是
{
"error": {
"root_cause": [{
"type": "x_content_parse_exception",
"reason": "[1:312] [date_histogram] unknown field [interval] did you mean [fixed_interval]?"
}],
"type": "x_content_parse_exception",
"reason": "[1:312] [date_histogram] unknown field [interval] did you mean [fixed_interval]?"
},
"status": 400
}
我查了一下,是ES版本的问题,除了在ES上面修改配置之外,还有其他办法避免这个问题吗?