Stefan Atanasov
03/06/2024, 11:37 AMhighlight
?
I execute the following query:
<http://localhost:8108/collections/newsarticles/documents/search?q=%22arsenal%22%20%22manchester%20united%22%20%22chelsea%22&query_by=attributes.title,attributes.content&sort_by=_text_match:desc,createdAt:desc&page=1&limit=2>
And in the second result, `arsenal`and chelsea
are mentioned in the `attributes.content`but it's not included in `highlight`object returned, and Manchster United is considered as two words
"highlight": {
"attributes": {
"content": {
"matched_tokens": [
"Manchester",
"United"
],
"snippet": "win it and that [<mark>Manchester</mark>] <mark>United</mark> game away is going"
}
}
}
Is this normal behaviour?