Fix account search ordering

This commit is contained in:
Eugen Rochko
2026-01-06 19:05:19 +01:00
parent 7e634eecbc
commit d21c48b8fe

View File

@@ -149,10 +149,9 @@ class AccountSearchService < BaseService
},
{
multi_match: {
combined_fields: {
query: @query,
type: 'best_fields',
fields: %w(text text.*),
fields: %w(username^2 display_name^2 text),
operator: 'and',
},
},