MeiliSearch/crates/milli/src
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
..
documents Move crates under a sub folder to clean up the code 2024-10-21 08:18:43 +02:00
facet Move crates under a sub folder to clean up the code 2024-10-21 08:18:43 +02:00
heed_codec Move crates under a sub folder to clean up the code 2024-10-21 08:18:43 +02:00
prompt Move crates under a sub folder to clean up the code 2024-10-21 08:18:43 +02:00
search Add indices field to _matchesPosition to specify where in an array a match comes from (#5005) 2024-11-20 01:00:43 +01:00
snapshots/index.rs Move crates under a sub folder to clean up the code 2024-10-21 08:18:43 +02:00
update Merge branch 'main' into tmp-release-v1.11.0 2024-11-04 16:14:44 +01:00
vector Merge branch 'main' into tmp-release-v1.11.0 2024-11-04 16:14:44 +01:00
asc_desc.rs Move crates under a sub folder to clean up the code 2024-10-21 08:18:43 +02:00
criterion.rs Move crates under a sub folder to clean up the code 2024-10-21 08:18:43 +02:00
error.rs Merge branch 'main' into tmp-release-v1.11.0 2024-11-04 16:14:44 +01:00
external_documents_ids.rs Move crates under a sub folder to clean up the code 2024-10-21 08:18:43 +02:00
fieldids_weights_map.rs Move crates under a sub folder to clean up the code 2024-10-21 08:18:43 +02:00
fields_ids_map.rs Move crates under a sub folder to clean up the code 2024-10-21 08:18:43 +02:00
index.rs Merge branch 'main' into tmp-release-v1.11.0 2024-11-04 16:14:44 +01:00
lib.rs Move crates under a sub folder to clean up the code 2024-10-21 08:18:43 +02:00
localized_attributes_rules.rs Move crates under a sub folder to clean up the code 2024-10-21 08:18:43 +02:00
order_by_map.rs Move crates under a sub folder to clean up the code 2024-10-21 08:18:43 +02:00
proximity.rs Move crates under a sub folder to clean up the code 2024-10-21 08:18:43 +02:00
score_details.rs Move crates under a sub folder to clean up the code 2024-10-21 08:18:43 +02:00
snapshot_tests.rs Move crates under a sub folder to clean up the code 2024-10-21 08:18:43 +02:00
thread_pool_no_abort.rs Move crates under a sub folder to clean up the code 2024-10-21 08:18:43 +02:00