From: Ekaterina Vaartis Date: Sat, 28 Aug 2021 12:59:13 +0000 (+0300) Subject: Reorder ranking rules for (maybe) better results X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=5ed17590915b31aa696befc1a65e3a953611335a;p=akkoma Reorder ranking rules for (maybe) better results --- diff --git a/lib/mix/tasks/pleroma/search/meilisearch.ex b/lib/mix/tasks/pleroma/search/meilisearch.ex index f2d9fe312..cdf9ab0bd 100644 --- a/lib/mix/tasks/pleroma/search/meilisearch.ex +++ b/lib/mix/tasks/pleroma/search/meilisearch.ex @@ -18,12 +18,12 @@ defmodule Mix.Tasks.Pleroma.Search.Meilisearch do "/indexes/objects/settings/ranking-rules", [ "desc(published)", - "typo", "words", + "exactness", "proximity", - "attribute", "wordsPosition", - "exactness" + "typo", + "attribute" ] )