1
0
mirror of https://github.com/funamitech/mastodon synced 2024-12-01 00:08:39 +09:00

Fix searching by username by reverting account verbatim tokenizer to standard (#26739)

This commit is contained in:
Claire 2023-08-31 15:35:58 +02:00 committed by GitHub
parent cffc5d2b01
commit 6b58cfd8dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,7 +34,7 @@ class AccountsIndex < Chewy::Index
}, },
verbatim: { verbatim: {
tokenizer: 'uax_url_email', tokenizer: 'standard',
filter: %w(lowercase asciifolding cjk_width), filter: %w(lowercase asciifolding cjk_width),
}, },