I have an issue with the Algolia’s advanced syntax and highlighted results. When I put a single quote char “Apostrophe” (’) in the request, it does match my records but the result isn’t highlighted unless I escape the single quote char.
In the following example, I only have one record in my index. The advanced syntax is on and title attribute is searchable.
When I type the title in the query, the highlight seems to be good.
When I put double quotes around the query (to activate exact match from the advanced syntax) it does match the result but the title isn’t highlighted.
BUT if I escape the single quote with a backslash it does highlight it!
Is that a bug from Algolia (since I’m using there own query system)? Did I misconfigured something?
It seems weird to me to escape some chars and if it would be the case, shouldn’t Algolia do it? Or which chars should I escape?
Any help would be greatly appreciated!
Original question on SO : https://stackoverflow.com/q/56851337/3789576