使用滚动 id 的弹性搜索查询返回未找到索引异常



在查询索引时,它按预期给出结果,但在提供滚动ID时返回状态为404。 并且错误type: "index_not_found_exception" 滚动 ID 长度为 5604。

你能尝试做 POST 请求而不是 GET 吗?

您不必将其作为 URL 的一部分传递。您可以简单地将其发送到请求正文(http://www.elasticsearch.org/guide/reference/api/search/search-type/)。参考: https://discuss.elastic.co/t/ridiculously-long-scroll-id/12913/4

最新更新