mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-03-24 16:40:30 +01:00

When the highlight bound is in the middle of a character or if we are out of bounds, we highlight the complete matching word. note: we should enhance the tokenizer and the Highlighter to match char indices. Fix #1368