megachangelog
Feature1.52.0

v1.52.0

Introduces /tasks/stream and /batches/stream SSE routes for live engine connections, reducing network load through push-based task and batch status updates. Also improves search speed by converting O(n) operations to O(1) for large result sets, and fixes duplicate pins in federated search.

✨ Enhancement

  • Introduce the /tasks/stream and /batches/stream SSE routes by @Kerollmops in #6533
    This experimental feature allows establishing a live connection to the engine, avoiding the need to implement long polling and instead letting the engine provide new tasks, batches, and batch progress in a push-based manner. Using this route can drastically reduce network load when retrieving the status of a Meilisearch instance.
  • Speed up the search speed a bit more by @Kerollmops in #6542
    We improve the search speed when it comes to formatting the documents by making an O(n) operation, where n is the number of retrieved documents, become an O(1) operation. This improvement can significantly increase search speed when requesting a large (> 20) number of documents.

🪲 Bug fixes

apiperformancestreamingsearchsse

Source: original entry ↗