MeiliSearch/milli/src/update/facet
Loïc Lecrenier d95d02cb8a Fix Facet Indexing bugs
1. Handle keys with variable length correctly

This fixes https://github.com/meilisearch/meilisearch/issues/3042 and
is easily reproducible with the updated fuzz tests, which now generate
keys with variable lengths.

2. Prevent adding facets to the database if their encoded value does
not satisfy `valid_lmdb_key`.

This fixes an indexing failure when a document had a filterable
attribute containing a value whose length is higher than ~500 bytes.
2022-11-17 11:29:42 +01:00
..
snapshots Add facet deletion tests that use both the incremental and bulk methods 2022-10-26 13:47:46 +02:00
bulk.rs Fix Facet Indexing bugs 2022-11-17 11:29:42 +01:00
delete.rs Fix all clippy error after conflicts 2022-10-27 23:58:13 +09:00
incremental.rs Fix Facet Indexing bugs 2022-11-17 11:29:42 +01:00
mod.rs Add facet deletion tests that use both the incremental and bulk methods 2022-10-26 13:47:46 +02:00