Skip to content

改进提及和虚拟引用搜索分词 #6165

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
88250 opened this issue Oct 12, 2022 · 0 comments
Closed

改进提及和虚拟引用搜索分词 #6165

88250 opened this issue Oct 12, 2022 · 0 comments
Assignees
Milestone

Comments

@88250
Copy link
Member

88250 commented Oct 12, 2022

  • 对于纯 ASCII 字符使用空格分词
    • 位于文本开头一个右侧空格,比如 foo 命中 foo bar
    • 位于文本中间两个空格,比如 bar 命中 foobarbaz
    • 位于文本结尾一个左侧空格,比如 bar 命中 foo bar
  • 对于包含非 ASCII 字符使用包含逻辑,比如 测试 命中 foo测试baz

https://ld246.com/article/1665474187865

@88250 88250 added this to the 2.4.0 milestone Oct 12, 2022
88250 added a commit that referenced this issue Oct 12, 2022

Unverified

This user has not yet uploaded their public signing key.
88250 added a commit that referenced this issue Oct 12, 2022

Unverified

This user has not yet uploaded their public signing key.
@88250 88250 self-assigned this Oct 12, 2022
@88250 88250 closed this as completed Oct 12, 2022
88250 added a commit that referenced this issue Oct 13, 2022

Unverified

This user has not yet uploaded their public signing key.
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

1 participant