你的浏览器禁用了JavaScript, 请开启后刷新浏览器获得更好的体验!
输入关键字进行搜索
搜索:
没有找到相关结果
xufenxu
赞同来自:
laoyang360 - 《一本书讲透Elasticsearch》作者,Elastic认证工程师 [死磕Elasitcsearch]知识星球地址:http://t.cn/RmwM3N9;微信公众号:铭毅天下; 博客:https://elastic.blog.csdn.net
zqc0512 - andy zhou
hapjin
If the refresh interval is set to -1, disabling the automatic refreshes
If a document has been updated but is not yet refreshed, the get API will issue a refresh call in-place to make the document visible.
The indexing buffer is used to store newly indexed documents. When it fills up, the documents in the buffer are written to a segment on disk.
要回复问题请先登录或注册
4 个回复
xufenxu
赞同来自:
laoyang360 - 《一本书讲透Elasticsearch》作者,Elastic认证工程师 [死磕Elasitcsearch]知识星球地址:http://t.cn/RmwM3N9;微信公众号:铭毅天下; 博客:https://elastic.blog.csdn.net
赞同来自:
{
"refresh_interval" : "60s"
}
zqc0512 - andy zhou
赞同来自:
hapjin
赞同来自:
但是,还会有其他情况触发refresh,导致 搜索可见(visible to search)
1,realtime GET API 会触发 refresh
2,delete操作、搜索操作,都可以带上一个 ?refresh 选项,都会触发 in-memory indexing-buffer 刷新成 segments,从而导致搜索可见。