es报错:request contains unrecognized parameter [ignore_throttled]
使用DeleteIndexRequest api删除过期数据。在使用 Springboot2.2.0 整合 ES集群5.4.0 的时候,使用 Springboot 时,使用的是 Springboot data 提供的工具,具体依赖如下:测试代码在新建的 Springboot 项目中,添加上面的那个依赖后,配置 yml 文件如下:在 SpringbootTest 中添加测试内容如下:注意,运行 testCreate 那种方法测试没有报错,但是 testDelete 报错了。ignore_thrott
原创
2023-05-06 13:13:58 ·
2866 阅读 ·
1 评论