Search no longer works after upgrading MeiliSearch
See original GitHub issueHello. I built the wagtail-meilisearch backend for the Wagtail CMS, and I’m trying to update it to use more recent versions of MeiliSearch, but since upgrading MeiliSearch and meilisearch-python I get an error when searching the index that I had previously built…
/usr/lib/python3.6/site-packages/meilisearch/_httprequests.py in __validate(request)
49 return HttpRequests.__to_json(request)
50 except requests.exceptions.HTTPError as err:
---> 51 raise MeiliSearchApiError(err, request)
MeiliSearchApiError: MeiliSearchApiError. Error code: search_error. Error message: impossible to search documents; heed error; error while decoding. Error documentation: https://docs.meilisearch.com/error/search_error
The link to the error documentation at the end there is a 404, I was able to find the relevant page on the docs but it didn’t help much. Should I kill and rebuild the index from scratch after upgrading?
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Update to the latest Meilisearch version
Update to the latest Meilisearch version. Currently, Meilisearch databases can only be opened by the Meilisearch version you used to create them.
Read more >Meilisearch shows irrelevant results after updating to v0.27
Describe the bug Since I updated meilisearch to version 0.27, the search results have been worse. In previous version (v0.25) of meilisearch ......
Read more >Laravel Scout - Laravel - The PHP Framework For Web Artisans
When upgrading Scout on an application that utilizes MeiliSearch, ... Since a search index is not a relational database, more advanced "where" clauses...
Read more >Meilisearch API documentation - Bump.sh
Search for documents matching a specific query in the given index. This route should only be used when no API key is required....
Read more >MeiliSearch: A definitive guide - LogRocket Blog
Installing MeiliSearch ; MeiliSearch project setup; Creating the blogs index; Uploading a dataset in MeiliSearch; Searching for documents in ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Perfect, thanks. I actually ended up pushing a compatibility update as 0.11.0, but yeah, I take your point about how the different versions don’t necessarily mean compatibility alignment. When we all hit 1.x it would make more sense.
Thanks for all the great work on this library!
Not a problem, the database (
data.ms
) is indeed not compatible between 2 minors versions of MeiliSearch, it means you have to re-populate your MeiliSearch instance! Snapshotting and back-up are currently implemented to solve that 🙂Hum, at the beginning meilisearch-python did indeed follow the same minor version (0.X.Y where X is the minor) of MeiliSearch. But we realized this is not convenient because the breaking changes of MeiliSearch do not necessarily involve breaking changes for meilisearch-python, and the opposite. So we stop that. Now, our SDKs (like meilisearch-python) follow their own versioning, so tracking the meilisearch-python version does not mean tracking the MeiliSearch version as well… And I’m not sure I recommend your package following the meilisearch-python version for the same reason. MeiliSearch, and meilisearch-python, are not enough stable yet: we are doing a lot of changes every week. You should follow your own versioning and when MeiliSearch will be more stable, I mean using the major, we (and you) should reconsider this possibility 🙂 (Hope I understood well your question)