Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to Meilisearch 0.28 #11

Open
wants to merge 20 commits into
base: master
Choose a base branch
from

Conversation

nikokozak
Copy link

Updates Meilisearch-Elixir to be compatible with Meilisearch 0.28, which otherwise has some breaking changes around faceting in Settings, as well as now enqueues most tasks (making it necessary to have a formal utility to await for Task resolution).

In summary:

  • Replaces Updates module with Tasks module to reflect MS API.
  • Updates documentation and tests to reflect methods that now return Tasks instead of finalized statuses.
  • Updates Settings to reflect changes from facetableAttributes to filterableAttributes, and adds facet as a setting.
  • Adds await_result method to Tasks module, making it part of the formal API.
  • Updates config to use the new Config module.
  • Updates some HTTP methods that were not interacting correctly with Meilisearch (mainly post requests -> put or patch).

@jgelens
Copy link

jgelens commented Oct 9, 2022

This is great! :)

@mazz
Copy link

mazz commented Nov 15, 2022

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants