MeiliSearch/crates/milli
Lukas Kalbertodt 057fcb3993
Add indices field to _matchesPosition to specify where in an array a match comes from (#5005)
* Remove unreachable code

* Add `indices` field to `MatchBounds`

For matches inside arrays, this field holds the indices of the array
elements that matched. For example, searching for `cat` inside
`{ "a": ["dog", "cat", "fox"] }` would return `indices: [1]`. For nested
arrays, this contains multiple indices, starting with the one for the
top-most array. For matches in fields without arrays, `indices` is not
serialized (does not exist) to save space.
2024-11-20 01:00:43 +01:00
..
examples Move crates under a sub folder to clean up the code 2024-10-21 08:18:43 +02:00
fuzz Move crates under a sub folder to clean up the code 2024-10-21 08:18:43 +02:00
src Add indices field to _matchesPosition to specify where in an array a match comes from (#5005) 2024-11-20 01:00:43 +01:00
tests Move crates under a sub folder to clean up the code 2024-10-21 08:18:43 +02:00
Cargo.toml implement the upgrade from v1.10 to v1.11 in meilitool 2024-11-04 17:47:10 +01:00
README.md Move crates under a sub folder to clean up the code 2024-10-21 08:18:43 +02:00

the milli logo

a concurrent indexer combined with fast and relevant search algorithms

Introduction

This crate contains the internal engine used by Meilisearch.

It contains a library that can manage one and only one index. Meilisearch manages the multi-index itself. Milli is unable to store updates in a store: it is the job of something else above and this is why it is only able to process one update at a time.