MeiliSearch/crates/meilisearch/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
..
analytics Merge branch 'main' into tmp-release-v1.11.0 2024-11-04 16:14:44 +01:00
extractors Move crates under a sub folder to clean up the code 2024-10-21 08:18:43 +02:00
routes reverse the order of the task queue 2024-11-07 19:19:44 +01: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
error.rs Move crates under a sub folder to clean up the code 2024-10-21 08:18:43 +02:00
lib.rs Merge branch 'main' into tmp-release-v1.11.0 2024-11-04 16:14:44 +01:00
main.rs Merge branch 'main' into tmp-release-v1.11.0 2024-11-04 16:14:44 +01:00
metrics.rs Adds new metrics to prometheus: SearchQueue size, SearchQueue searches running, and Search Queue searches waiting. 2024-11-06 15:37:16 -03:00
middleware.rs Move crates under a sub folder to clean up the code 2024-10-21 08:18:43 +02:00
option.rs Merge branch 'main' into tmp-release-v1.11.0 2024-11-04 16:14:44 +01:00
search_queue.rs Adds new metrics to prometheus: SearchQueue size, SearchQueue searches running, and Search Queue searches waiting. 2024-11-06 15:37:16 -03:00