Skip to content

搜索支持按文档分组展现搜索结果 #4772

Closed
@88250

Description

@88250
Member

https://ld246.com/article/1651503408588

或者搜索面板 #3564 使用分组,全局搜索保持平铺不变。

Activity

haogeek

haogeek commented on May 11, 2022

@haogeek

搜索面板和全局搜索从功能上有什么区别?为什么既要有搜索面板又要有全局搜索呢?

88250

88250 commented on May 11, 2022

@88250
MemberAuthor

搜索面板可能会支持按文档分组,全局搜索保持不变。

haogeek

haogeek commented on May 13, 2022

@haogeek

两者的搜索规则和结果不一样吗?

88250

88250 commented on May 13, 2022

@88250
MemberAuthor

正文中链滴上的帖子有描述。

88250

88250 commented on May 13, 2022

@88250
MemberAuthor

主要是搜索结果展示有区别。

QiuMP

QiuMP commented on Jun 17, 2022

@QiuMP

这个功能我觉得可以做成用户能按照需求自行选择结果的展示形式

changed the title [-]全局搜索按文档树分组[/-] [+]全局搜索按文档分组[/+] on Nov 18, 2022
added this to the backlog milestone on Nov 18, 2022
changed the title [-]全局搜索按文档分组[/-] [+]搜索页签按文档分组或文档树结构展现[/+] on Nov 18, 2022
modified the milestones: backlog, 2.5.1 on Nov 18, 2022

11 remaining items

changed the title [-]搜索支持按文档分组[/-] [+]搜索支持按文档分组展现搜索结果[/+] on Nov 26, 2022
added a commit that references this issue on Nov 27, 2022
added a commit that references this issue on Nov 27, 2022

#4772 上下键切换

Zuoqiu-Yingyi

Zuoqiu-Yingyi commented on Nov 28, 2022

@Zuoqiu-Yingyi
Contributor

@Vanessa219 V 姐, v2.5.2 中搜索对话框与搜索页签项的搜索结果列表均为 <div id="searchList" class="search__list b3-list b3-list--background search__list">, 导致该 HTML 元素的 id 重复, 且 search__list 类名有两个

Vanessa219

Vanessa219 commented on Nov 29, 2022

@Vanessa219
Member

id 这个查询的时候会用父元素来进行限定,应该没有什么副作用。类重复这个下个版本修改。谢谢。

added a commit that references this issue on Nov 29, 2022
roverway

roverway commented on Nov 29, 2022

@roverway

@roverway 对了,你觉得按文档树结构(也就是层级)分组有必要吗?

@88250 刚看到这条,还没来得及时试用252。你指的是在按所属文档分组的基础上,进一步展现文档之间的层级关系吗?按我个人的使用习惯,觉得没必要,有点过于复杂了,没想到美观的展示方式,也不觉得这么做能带来额外的效率方面的提升。
一个不成熟的想法是,文档层级关系如果对部分用户有用的话,可以用类似鼠标hover后浮动提示的样式来体现。

88250

88250 commented on Nov 29, 2022

@88250
MemberAuthor

@roverway 嗯,文档树结构我们也觉得没有必要,后面再看情况吧。

roverway

roverway commented on Nov 30, 2022

@roverway

@roverway 嗯,文档树结构我们也觉得没有必要,后面再看情况吧。

252的分组展示方式我觉得就可以,不用更复杂了,只是我这边觉得这个版本搜索越发慢了。

88250

88250 commented on Nov 30, 2022

@88250
MemberAuthor

@roverway 分组的话会比较慢,不分组应该和原来性能一样,这个我们后面再看看如何优化。

added a commit that references this issue on Dec 21, 2022

🐛 siyuan-note#4772 修复按文档分组搜索结果时文档 title 属性丢失问题

1b0c41b
added a commit that references this issue on Dec 22, 2022

🐛 #4772 修复按文档分组搜索结果时文档 title 属性丢失问题 (#6904)

7150103
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @roverway@88250@Vanessa219@haogeek@QiuMP

      Issue actions

        搜索支持按文档分组展现搜索结果 · Issue #4772 · siyuan-note/siyuan