Why synonyms don't want to match if the user query .
I have multiway synonyms
jabodetabek-synonymmulti-wayjabodetabek, jakarta, bogor, depok, tangerang, bekasi, dki jakarta
So If I query
"q": "wibisono bogor"
the result can highlight "tangerang"
"highlight": {
"hospitals": [
{
"city": {
"matched_tokens": [
"Tangerang"
],
"snippet": "<mark>Tangerang</mark>",
"value": "<mark>Tangerang</mark>"
}
}
],
But if the query
"q": "wibisono bogor jawa barat",
the result can't matching a "bogor" to another synonyms
"highlights": [
{
"field": "name",
"matched_tokens": [
"Wibisono"
],
"snippet": "dr. <mark>Wibisono</mark>, SpOT",
"value": "dr. <mark>Wibisono</mark>, SpOT"
}
],