aboutsummaryrefslogtreecommitdiff
path: root/database
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2026-03-11 17:49:19 +0100
committermetamuffin <metamuffin@disroot.org>2026-03-11 17:49:19 +0100
commit8d9b20d56d90d61de5b13cf2c3fc39f4c508611e (patch)
treed66ab6bfaf85d9df29a220c6e938e8be49d0f31f /database
parent5878f47bf7b28e1cea548fa9631d28db954ae371 (diff)
downloadjellything-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.rs2
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()