【发布时间】:2020-11-06 04:23:25
【问题描述】:
我是 elk stack 的新手
-
我已经从this 尝试过,但没有得到工作流程..
-
例如在搜索查询下方执行
POST <index-name>/_search?scroll=2m
{
"query": {"match_all": {}}
}
- 并从此查询中获取了 scroll_id,然后尝试检索下一批结果以进行滚动搜索。使用此
GET /_search/scroll
{
"scroll_id" : "<scroll_id>"
}
- 第一次得到结果
"took" : 2,
"timed_out" : false,
"terminated_early" : true,
"_shards" : {
"total" : 1,
"successful" : 1,
"skipped" : 0,
"failed" : 0
},
"hits" : {
"total" : {
"value" : 13059,
"relation" : "eq"
}
- 我的问题是为什么当我尝试使用相同的 scroll_id 再次滚动时出现错误
"caused_by" : {
"type" : "search_context_missing_exception",
"reason" : "No search context found for id"
- 使用的版本
Kibana 7.9.3
Elastic Search 7.9.3
【问题讨论】:
标签: elasticsearch kibana elastic-stack