Is your feature request related to a problem? Please describe.
Quick starter
Describe the solution you'd like
Adapted from the react example
Current issue
From a quick test, calls with nodejs seem to be an issue
Example stack trace (here with getServerSideProps)
Error [MeiliSearchCommunicationError]: Not Found
at httpErrorHandler (/Code/test/test-meilisearch/node_modules/meilisearch/dist/bundles/meilisearch.umd.js:245:15)
at HttpRequests.
at step (/Code/test/test-meilisearch/node_modules/meilisearch/dist/bundles/meilisearch.umd.js:79:27)
at Object.throw (/Code/test/test-meilisearch/node_modules/meilisearch/dist/bundles/meilisearch.umd.js:60:57)
at rejected (/Code/test/test-meilisearch/node_modules/meilisearch/dist/bundles/meilisearch.umd.js:51:69)
at processTicksAndRejections (internal/process/task_queues.js:93:5) {
type: 'MeiliSearchCommunicationError',
errno: undefined,
code: undefined
}
Actually it seems to work, it's just that to go quickly I used the default meilisearch that comes with the example (0.9), but a more recent library version (0.15). So it was a version incompatibility I guess.
Hello @fimbault!
Yes, you're right they are incompatible versions, this article in our docs is indeed not up-to-date, sorry about that.
We are currently working on adding more front-end articles that would better fit with the new versions of MeiliSearch. I hope they would make your MeiliSearch experience easier!
Sorry for this inconvenient, and thanks for using MeiliSearch 馃榿
no problem, here's the small test in case it helps someone https://github.com/fimbault/test-meilisearch-nextjs
Most helpful comment
no problem, here's the small test in case it helps someone https://github.com/fimbault/test-meilisearch-nextjs