mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-02-22 10:18:28 +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