diff options
| author | metamuffin <metamuffin@disroot.org> | 2026-03-11 17:49:19 +0100 |
|---|---|---|
| committer | metamuffin <metamuffin@disroot.org> | 2026-03-11 17:49:19 +0100 |
| commit | 8d9b20d56d90d61de5b13cf2c3fc39f4c508611e (patch) | |
| tree | d66ab6bfaf85d9df29a220c6e938e8be49d0f31f /database | |
| parent | 5878f47bf7b28e1cea548fa9631d28db954ae371 (diff) | |
| download | jellything-8d9b20d56d90d61de5b13cf2c3fc39f4c508611e.tar jellything-8d9b20d56d90d61de5b13cf2c3fc39f4c508611e.tar.bz2 jellything-8d9b20d56d90d61de5b13cf2c3fc39f4c508611e.tar.zst | |
fix transition when query params already present
Diffstat (limited to 'database')
| -rw-r--r-- | database/src/kv/index.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/database/src/kv/index.rs b/database/src/kv/index.rs index 2c96b48..7a7567a 100644 --- a/database/src/kv/index.rs +++ b/database/src/kv/index.rs @@ -263,7 +263,7 @@ pub fn iter_index<'a>( } fn text_tokenizer(text: &str) -> HashSet<String> { - text.split(|x| matches!(x, ' ' | ',' | ':' | '/' | '+' | '&')) + text.split(|x| matches!(x, ' ' | ',' | ':' | '/' | '+' | '&' | '@' | '#')) .filter(|x| !x.is_empty()) .map(|s| s.to_lowercase()) .collect() |