diff options
author | rinpatch <rinpatch@sdf.org> | 2019-10-16 12:52:47 +0300 |
---|---|---|
committer | rinpatch <rinpatch@sdf.org> | 2019-10-18 14:56:14 +0300 |
commit | 713b2187b93ebda5533e67173d82745eb15ba650 (patch) | |
tree | 733ec9cd1f1b3d9e7dd698897f3a598957973052 /rel | |
parent | 4123c9db0736f53d40792ca0a94b7c7724e544a2 (diff) | |
download | pleroma-713b2187b93ebda5533e67173d82745eb15ba650.tar.gz |
User search: Remove trigram and refactor the module
- Remove trigram as it tends to rank garbage results highly, resulting
in it prioritized above fts, which gives actually decent results. ACKed
by kaniini and lain on irc.
- Remove a test for handling misspelled requests, since we no longer have
trigram
- Remove a test for searching users with `nil` display names, because it
is unrealistic, we don't accept usernames that are not >1 char strings
- Make rank boosting for followers/followees sane again, previous values
resulted in garbage matches getting on top just because the users are
followers/followees
Diffstat (limited to 'rel')
0 files changed, 0 insertions, 0 deletions