We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Learn more about funding links in repositories.
Report abuse
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
之前在https://ld246.com/article/1687574578775这个帖子借楼反馈过这个问题,但我后来再测试的时候没有复现,现在发现问题所在:我第一次录屏的时候测试的文件是加粗的关键词放在开头了,如图: 我今天调整了测试文档的内容,在加粗的关键词前面加上了没有行级样式的正文,复现了搜索和引用中带有行级样式文字的检索结果被置底的bug。
检索结果按照正常顺序显示
- Version: 2.9.2 - Operating System:win10 - Browser (if used):
siyuan.log
No response
The text was updated successfully, but these errors were encountered:
感谢反馈,这和加粗等行级元素没有关系的,搜索时不指定排序规则的话是按 sort 字段排序,也就是块类型,如果块类型都一样,比如都是段落块的话会按照 SQLite FTS5 内建的排序算法,这个排序算法我没有仔细研究,观察了下大概是最新更新的数据会被放在最后。
sort
下个版本我们稍微调整一下,在不指定排序的情况下默认使用 sort 升序和 updated 降序,这样就能在同类型时稳定得到按更新时间降序的结果了。
updated
Sorry, something went wrong.
🎨 Improve search default sort #8624
d1ccc9b
4676d3b
88250
No branches or pull requests
Is there an existing issue for this?
Can the issue be reproduced with the default theme (daylight/midnight)?
Could the issue be due to extensions?
Describe the problem
之前在https://ld246.com/article/1687574578775这个帖子借楼反馈过这个问题,但我后来再测试的时候没有复现,现在发现问题所在:我第一次录屏的时候测试的文件是加粗的关键词放在开头了,如图:


我今天调整了测试文档的内容,在加粗的关键词前面加上了没有行级样式的正文,复现了搜索和引用中带有行级样式文字的检索结果被置底的bug。
Expected result
检索结果按照正常顺序显示
Screenshot or screen recording presentation
2023-06-26-22-59-56.mp4
Version environment
Log file
siyuan.log
More information
No response
The text was updated successfully, but these errors were encountered: