Open irevoire opened 2 years ago
I would like to work on this, is this issue still current? Can the meilisearch server already handle requests that send jsonlines?
Hey @matthias-wright, yes thanks for your interest, this hasn't been implemented. Meilisearch can handle jsonlines IF you set the good content-type and only on the POST and PUT route 👍
If https://github.com/meilisearch/meilisearch-rust/pull/417 was able to fix this, then please close it.
Description All the functions that create or update documents should send jsonlines instead of a JSON array.
Why That's faster to process by meilisearch and consumes less memory.
How Currently, the issue is that when we send a POST or PUT request in the SDK, it's automatically flagged as JSON. We need to update our internal to support JSON for the settings and jsonlines for the documents.