Reorder ranking rules for (maybe) better results
authorEkaterina Vaartis <vaartis@kotobank.ch>
Sat, 28 Aug 2021 12:59:13 +0000 (15:59 +0300)
committerFloatingGhost <hannah@coffee-and-dreams.uk>
Wed, 29 Jun 2022 19:48:44 +0000 (20:48 +0100)
lib/mix/tasks/pleroma/search/meilisearch.ex

index f2d9fe312882778dee68b09a8d1782c08504d4c2..cdf9ab0bd3b408f62b897c9bd56a44bf6d262ff9 100644 (file)
@@ -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"
       ]
     )