There isn't currently a way to specify "don't highlight" if there is a typo. You'd need to turn off typo tolerance, and prevent the match altogether, which will decrease the matches you get.
However, if you set getRankingInfo to true, you can see the nbTypos (number of typos) in the result. If you are writing your UI, you can make changes to the output based on this value. I.e, only highlight if nbTypos is 0. However, this would be a customization you'd need to make.
However, if you set getRankingInfo to true, you can see the nbTypos (number of typos) in the result. If you are writing your UI, you can make changes to the output based on this value. I.e, only highlight if nbTypos is 0. However, this would be a customization you'd need to make.
Comments
0 comments
Article is closed for comments.