Closed shigma closed 1 year ago
You've marked this issue as closed, did you find out what was causing it? I believe it would be the actual engine returning those highlights, if they happen consistently. Possibly synonyms are also involved?
Yes. It seems an issue from meilisearch. Their matchesInfo
contains byte length instead of character length. So I'll be tracking this issue on their side.
🐛 Current behavior
I searched with the 2-character word "测试", but got 5 characters highlighted.
🔍 Steps to reproduce
Live reproduction
https://koishi.chat
💭 Expected behavior
Only "测试" should be hightlighted.
Package version
vue-instantsearch 4.7.2
Operating system
not relavent
Browser
not relavent
Code of Conduct