meilisearch / meilisearch-php

PHP wrapper for the Meilisearch API

Home Page:https://meilisearch.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot update ranking rules on index

Murkrow02 opened this issue · comments

Description
I cannot update ranking rules with proper method

Expected behavior
Ranking rules are updated as expected

Current behavior
Meilisearch\Exceptions\InvalidResponseBodyException is thrown

Screenshots or Logs
image

Environment (please complete the following information):

  • OS: Ubuntu Linux
  • meilisearch-php version: 1.4.0

The problem seems to be that the php wrapper uses "PUT" while the endpoint wants "POST"

Please include error from response

Not sure for now,but there are integration tests that works :)

My bad, docker compose was using an old version :(

Glad you worked it out 😉