mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-12-26 14:40:05 +01:00
Merge pull request #276 from meilisearch/support-slash-tokenizer
Add support for back/slashes
This commit is contained in:
commit
1c4afe6d0f
@ -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,
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user