MeiliSearch/meilisearch
bors[bot] 48a51e5cd6
Merge #3577
3577: Avoid fetching an LMDB value with an empty string r=ManyTheFish a=Kerollmops

# Pull Request

## Related issue
Fixes #3574 

## What does this PR do?
This PR fixes a bug where an empty key fetches an entry in the database. LMDB throws an error if an empty or too-long key is used to fetch an entry. This empty string seems to have been generated by the Charabia tokenizer.

Co-authored-by: Clément Renault <clement@meilisearch.com>
2023-03-09 14:35:25 +00:00
..
src Restore contribution of the index sizes to the db size 2023-03-07 14:05:27 +01:00
tests Add a test to fix a diacritic issue 2023-03-09 14:57:38 +01:00
build.rs Add note in code so one does not forget next time 2023-02-16 10:53:14 +01:00
Cargo.toml remove the feature flag and reorganize the module slightly 2023-02-23 12:26:21 +01:00