Meilisearch: use PUT method for indexing Mix task

See https://github.com/meilisearch/meilisearch/issues/2619
This commit is contained in:
Mint 2024-11-21 02:13:10 +03:00
parent dcb0c47773
commit c9f9ec04c8

View file

@ -28,7 +28,7 @@ def run(["index"]) do
end
{:ok, _} =
meili_post(
meili_put(
"/indexes/objects/settings/ranking-rules",
[
"published:desc",
@ -42,7 +42,7 @@ def run(["index"]) do
)
{:ok, _} =
meili_post(
meili_put(
"/indexes/objects/settings/searchable-attributes",
[
"content"