-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Reindex only the current document after rolling back the document #12320
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
这个没有办法打断,并且如果打断的话会导致索引不完整出现其他问题。 |
那能不能跳过部分不会产生问题的索引?比如这个搜索索引非常耗时,每回滚一个文档都要完整等一遍 |
不行的
…---原始邮件---
发件人: "Jeffrey ***@***.***>
发送时间: 2024年8月28日(周三) 下午2:06
收件人: ***@***.***>;
抄送: ***@***.***>;"State ***@***.***>;
主题: Re: [siyuan-note/siyuan] 支持在回滚文档时打断重建索引 (Issue #12320)
那能不能跳过部分不会产生问题的索引?比如这个搜索索引非常耗时,每回滚一个文档都要完整等一遍
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you modified the open/close state.Message ID: ***@***.***>
|
考虑了下,改进为仅重建当前文档索引,不再全量重建索引。 |
我还以为不全量重建索引会产生什么问题,原来是可以仅重建当前文档索引的 😄 |
Oh God, the question has finally changed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
支持在回滚文档时打断重建索引回滚文档后仅重新索引当前文档每回滚一篇文档都要等半天才能继续回滚下一篇,需要回滚的文档多了就得等很久。
像这个搜索索引就没有必要一直等,直接打断了回滚下一篇文档就好:
关联 #12295
The text was updated successfully, but these errors were encountered: