mirror of
https://github.com/mastodon/mastodon.git
synced 2026-06-10 17:51:19 -05:00
Merge d21c48b8fe into 4f062c8c7b
This commit is contained in:
commit
0898e0d062
|
|
@ -151,10 +151,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',
|
||||
},
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user