diff options
author | lain <lain@soykaf.club> | 2019-06-06 16:18:27 +0200 |
---|---|---|
committer | lain <lain@soykaf.club> | 2019-06-06 16:18:27 +0200 |
commit | cb2bcee842f07358db4d37de1b9a32c9d69d487c (patch) | |
tree | 00a50a3d07d0088000a9ba97523844a5871e7489 /lib/pleroma/user/search.ex | |
parent | 7e9f7ea0c21d51c5fedf89ea1feb503b77c78bba (diff) | |
download | pleroma-cb2bcee842f07358db4d37de1b9a32c9d69d487c.tar.gz |
User Search: Boost friends more strongly.
Diffstat (limited to 'lib/pleroma/user/search.ex')
-rw-r--r-- | lib/pleroma/user/search.ex | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/pleroma/user/search.ex b/lib/pleroma/user/search.ex index e74143cd0..add6a0bbf 100644 --- a/lib/pleroma/user/search.ex +++ b/lib/pleroma/user/search.ex @@ -86,8 +86,8 @@ defmodule Pleroma.User.Search do search_rank: fragment( """ - CASE WHEN (?) THEN (?) * 1.3 - WHEN (?) THEN (?) * 1.2 + CASE WHEN (?) THEN 0.5 + (?) * 1.3 + WHEN (?) THEN 0.5 + (?) * 1.2 WHEN (?) THEN (?) * 1.1 ELSE (?) END """, |