CARVIEW |
Navigation Menu
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
v1.15.0 🦘
Compare
7f5a0c0
Meilisearch v1.15 adds a new typo tolerance setting, allowing you to disable typo tolerance for numbers. It also enables comparison operators for string filters.
🧰 All official Meilisearch integrations (including SDKs, clients, and other tools) are compatible with this Meilisearch release. Integration deployment takes 4 to 48 hours after a new version becomes available.
Some SDKs might not include all new features. Please look over the project repository for detailed information. Is a feature you need missing from your chosen SDK? Create an issue letting us know you need it, or, for open-source karma points, open a PR implementing it (we'll love you for that ❤️).
New features and updates 🔥
Disable typo tolerance for numbers
Set typoTolerance.disableOnNumbers
to true
to disable typo tolerance for numbers:
curl -X POST 'https://localhost:7700/indexes/movies/settings' \
-H 'Content-Type: application/json' \
-d '{
"typoTolerance": {"disableOnNumbers": true}
}'
Deactivating the typo tolerance on numbers can be helpful when trying to reduce false positives, such as a query term 2024
returning results that include 2025
and 2004
. It may also improve indexing performance.
Done by @ManyTheFish in #5494.
Lexicographic string filters
This release allows you to filter strings lexicographically by enabling comparison operators (<, <=, >, >=, TO) on string values:
curl -X POST 'https://localhost:7700/indexes/movies/search' \
-H 'Content-Type: application/json' \
-d '{
"filter": "release_date >= '2024-06'"
}'
This new feature can be particularly useful when filtering human-readable dates.
Other improvements
- Allows cancelling an upgrade to a new Meilisearch version by rolling back all upgraded indexes by @dureuill in #5523
- Support EC private key as SSL certificate by @HDT3213 in #5471
- When passing the relevant CLI option, stop compacting snapshots, to speed up their generation by @dureuill and @irevoire in #5498 and #5560
- Add new
batchStrategy
field in the batches stats by @dureuill in #5488, #5530, and #5588 - Add log field tracking time spent searching in the vector store by @Kerollmops in #5525
- Improve filterable error messages by @CodeMan62 in #5425
- Improve error messages on embeddings dimension mismatch by @vuthanhtung2412 in #5449
- Update
/network
URL validation error message format by @CodeMan62 in #5486 - Expose the task queue's status size in the Prometheus metrics by @DanasFi in #5512
Fixes 🐞
- Fix
_matchesPosition
length calculation to improve client-side cropping by @shaokeyibb in #5446 - Fix
_geo
ranking rule by @HDT3213 in #5487 - Fix a panic in the search that could happen when looking for typos with a search prefix having more than 65k possible hits in the DB by @dureuill in #5564
- Make sure that passing
MEILI_EXPERIMENTAL_MAX_NUMBER_OF_BATCHED_TASKS
to 0 results in Meilisearch never processing any kind of task. By @irevoire in #5565 - Forbid value
0
formaxTotalHits
in the index settings by @irevoire in #5566 - No longer reject
documentTemplate
s that use array filters on documents (e.g.join
) by @dureuill in #5593
Misc
- Dependency updates
- Update Rust to 1.85.1 by @Kerollmops in #5480
- Update charabia v0.9.3 by @ManyTheFish in #5466
- Update the Prometheus to fix a security vulnerability by @Kerollmops in #5513
- CIs and tests
- Setup the Milestone CI to update the Ruleset by @Kerollmops in #5444
- Make the CI work with GitHub's merge queue grouping by @Kerollmops in #5445
- Remove Bors references from the repository by @Kerollmops in #5447
- Split unit tests for tasks by @shu-kitamura in #5424
- Misc
- Improve dumpless upgrade compatibility by @irevoire in #5395
- Fix links and formatting in README for clarity and consistency by @ZeroZ-lab in #5533
❤️ Thanks again to our external contributors:
- Meilisearch: @shu-kitamura, @shaokeyibb, @CodeMan62, @vuthanhtung2412, @HDT3213, @DanasFi, and @ZeroZ-lab.
- Charabia: @luflow, @mosuka, and @HDT3213.
- RoaringBitmap: @lucascool12 and @Dr-Emann.