Closed
Description
Is there an existing issue for this?
- I have searched the existing issues
Can the issue be reproduced with the default theme (daylight/midnight)?
- I was able to reproduce the issue with the default theme
Could the issue be due to extensions?
- I've ruled out the possibility that the extension is causing the problem.
Describe the problem
想知道这个是bug,还是我设置问题?
还是特性?貌似在前面的几个块都有关键词多个命中
Expected result
块引搜索,文档块默认在其他块之前
Screenshot or screen recording presentation
No response
Version environment
- Version: v2.12.2
- Operating System:
- Browser (if used):
Log file
none
More information
No response
Activity
Achuan-2 commentedon Jan 13, 2024
哦哦,我发现我没开启这个

88250 commentedon Jan 13, 2024
块引搜索有个排序算法,大致是这样的:
我关闭了,感谢反馈。
Achuan-2 commentedon Jan 16, 2024
【【可以指定只搜索文档,选中文字之后Ctrl+【可以设置只搜索文档吗,目前我有好多次搜索都出现了代码块会在文档块之前的情况,此外感觉代码块的权重比文档块还高了?因为只是命中一次而已


Achuan-2 commentedon Jan 16, 2024
@88250
Ctrl+P搜索是正常的
但是Alt+【就是段落块和代码块会在文档块之前


88250 commentedon Jan 16, 2024
麻烦制作一个能够重现问题的最小数据集,我调试看看。
Achuan-2 commentedon Jan 16, 2024
test.sy.zip
建立了三个文档,引用文档来测试Altl+【引用
88250 commentedon Jan 17, 2024
定位到问题了,是在 #8886 中引入的 bug,下个版本修复,多谢。
🐛 Fix block ref search sorting #10164
Achuan-2 commentedon Jan 17, 2024
好滴,辛苦