User Search: Boost friends more strongly.
This commit is contained in:
parent
7e9f7ea0c2
commit
cb2bcee842
2 changed files with 23 additions and 2 deletions
|
|
@ -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
|
||||
""",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue