Should _matchesPosition
return bytes or char?
#393
curquiza
started this conversation in
Feedback & Feature Proposal
Replies: 2 comments 6 replies
-
I think should return |
Beta Was this translation helpful? Give feedback.
4 replies
-
So is this behavior changed? I tried 1.0.0-rc1 but still get byte length instead of character length (which caused bad highlighting). |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Following some issues like those ones:
Currently,
_matchesInfo
returned by the search engine return integer values in bytes. We might want it to return the value in characters.We need to choose the default behavior that fits 80% of the usage. If needed, in the future, we may want to expose a settings in Meilisearch to change this behavior.
Beta Was this translation helpful? Give feedback.
All reactions