Skip to content
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

搜索功能优化 #11254

Open
V7kb opened this issue May 5, 2024 · 1 comment
Open

搜索功能优化 #11254

V7kb opened this issue May 5, 2024 · 1 comment
Assignees

Comments

@V7kb
Copy link

V7kb commented May 5, 2024

In what scenarios do you need this feature?

现状:在已搜索时,点击切换已保存的查询条件,搜索框中的文本会被清空,需要重新输入进行搜索。

需求:点击切换已保存的查询条件,文本框中的内容不会被清空,且自动执行搜索。例如:当前查询条件是标题,搜索“AAA”,显示出10条标题的搜索结果。点击切换保存查询条件为文本块+嵌入块,则自动显示“AAA”的文本块+嵌入块搜索结果。

按照现有的搜索形式,搜索流程应该是:打开搜索框——选择保存的查询条件——输入关键词搜索——找到需要的内容。
实际使用中,更合理的搜索流程是:打开搜索框——输入关键词搜索——未找到结果——切换查询条件——找到需要的内容

Describe the optimal solution

1

Describe the candidate solution

1

Other information

1

@Vanessa219
Copy link
Member

保存查询条件是会把搜索内容一起保存的,因为搜索内容也是查询条件的一部分。丢弃的话,还需要看一下其他用户的反馈。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants