Skip to content

搜索支持锚文本模板 #854

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

Closed
deerainw opened this issue Dec 27, 2020 · 3 comments
Closed

搜索支持锚文本模板 #854

deerainw opened this issue Dec 27, 2020 · 3 comments
Assignees
Milestone

Comments

@deerainw
Copy link

v0.5.44 版本,{{.text}} 模板在搜索候选项里不转换显示,模板指向的那个名称无法用做搜索关键词

image

@88250 88250 self-assigned this Dec 27, 2020
@88250 88250 added the Bug label Dec 27, 2020
@88250 88250 added this to the 0.5.45 milestone Dec 27, 2020
@88250
Copy link
Member

88250 commented Dec 27, 2020

感谢反馈,v0.5.45 修复。

@88250 88250 changed the title 锚文本模板在搜索中的表现 搜索支持锚文本模板 Dec 27, 2020
@88250 88250 added Enhancement and removed Bug labels Dec 27, 2020
@88250
Copy link
Member

88250 commented Dec 27, 2020

对了,你觉得搜索时应该出现这个吗?
image

@deerainw
Copy link
Author

感觉这个 id 就没必要在搜索里显示了吧,比如上面这个例子里的 bar 只是刚好出现搜索结果里,用户真正想搜的是 foo 相关的内容,如果 bar 把自己的一串 id 显示出来就喧宾夺主了。如果搜索 foo 的时候某行结果里有 bar1 bar2 bar3,它们三个全都显示一串信息出来,这一行搜索结果就没有可读性了

@88250 88250 closed this as completed Dec 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants