megachangelog
Improvement1.43.0

v1.43.0

Introduces a new, more efficient settings indexer supporting filterable, sortable, and facet search attributes, improves facet search indexing performance by reducing internal data structure generation time, and fixes bugs in lexicographic string filters and typo tolerance. The GET /health endpoint now returns HTTP 500 after task queue compaction to signal restart requirements.

🌈 Enhancements

New settings indexer

The new settings indexer, a more efficient version of our internal indexer for index settings modifications, now supports filterable, sortable, facet search, and custom (asc/desc) attributes in addition to the already-supported searchable, exact, proximity precision, and embedders.

  • For Meilisearch Cloud users, the new settings indexer is disabled by default and can be enabled on a case-by-case basis for scaling purposes.
  • For OSS users, the new settings indexer can be disabled by setting the MEILI_EXPERIMENTAL_NO_EDITION_2024_FOR_SETTINGS to true.

By @Kerollmops in #6124

Improve facet search indexing performance

We reduced the time to generate the internal data structures for the facet search to work. We were previously doing a couple of full scans on the internal entries and replaced these with scans on specific entries, only the ones dedicated to the facet searchable fields.

By @Kerollmops in #6325

Improve task queue compaction integration

The GET /health route now returns HTTP 500 after a successful task queue compaction, to signal that Meilisearch should be restarted so that tasks can be enqueued again.

For Meilisearch Cloud users, this ensures that compacting the task queue will automatically restart the instance after the compaction.

šŸ¦‹ Fixes

Fix lexicographic filters on strings

Fixes a bug where string facet values appearing in <, <=, >, >= and IN filters were not normalized before comparison to facet values.

This would cause some values in documents (e.g. 2026-01-01T00:00:00) to appear to be higher than their filter counterpart, due to being normalized (e.g. like 2026-01-01t00:00:00).

Thanks to @njaard for reporting the issue ā¤ļø

By @dureuill in #6340

Fix typo tolerance v1.41 regression

Fixes the WordDelta::added_or_deleted_words function.

By @Kerollmops in #6350.

Thanks to @vladradin99 and @snurfer0 for reporting the issue in #6349 and #6324 ā¤ļø

šŸ”© Miscellaneous

Thanks again @gounthar, @njaard, @vladradin99 and @snurfer0 for your contributions ā¤ļø

Full Changelog: v1.42.1...v1.43.0

indexingperformancefacet-searchfilterstask-queuebugfix

Source: original entry ↗