镜像自地址
https://github.com/meilisearch/MeiliSearch
已同步 2025-07-15 13:58:36 +02:00
Merge pull request #276 from meilisearch/support-slash-tokenizer
Add support for back/slashes
这个提交存在于:
当前提交
1c4afe6d0f
共有 1 个文件被更改,包括 1 次插入 和 1 次删除
|
@ -47,7 +47,7 @@ fn classify_separator(c: char) -> Option<SeparatorCategory> {
|
|||
c if c.is_whitespace() => Some(Soft), // whitespaces
|
||||
c if deunicode_char(c) == Some("'") => Some(Soft), // quotes
|
||||
c if deunicode_char(c) == Some("\"") => Some(Soft), // double quotes
|
||||
'-' | '_' | '\'' | ':' => Some(Soft),
|
||||
'-' | '_' | '\'' | ':' | '/' | '\\' => Some(Soft),
|
||||
'.' | ';' | ',' | '!' | '?' | '(' | ')' => Some(Hard),
|
||||
_ => None,
|
||||
}
|
||||
|
|
正在加载…
添加表格
添加链接
在新工单中引用