Hi team, I want ask about synonyms.
If I have some synonyms, and the input have 1 word the synonyms still work
"internist" -> internal medicine
But if I have query
"Internist Bandung" -> the internist dont want to match internist to internal medicine
if i try to input "internist" the result "snippet": "in oncology (cancer) with <mark>internal</mark> <mark>medicine</mark> -
but I try to input "Internist in sruwijaya" -> sruwijaya is the typo
there is no result
a
Alan Martini
05/16/2025, 4:12 PM
Hey Dian,
Can you provide the query you are performing and the typesense version?
d
Dian Alhusari
05/19/2025, 2:48 AM
{
"collection": "data_doctor_005-[jina]",
"q": "Internist",
"query_by": "search_doctor,search_doctor_ind,hospitals.hospital_description",
"per_page": 10,
"exclude_fields": "embedding_specialist_keyword,embedding_specialist_subspecialist",
"highlight_full_fields": "search_doctor,search_doctor_ind,specialist_subspecialist_description,hospitals.hospital_description",
"max_candidates": 50,
"stopwords": "stopword_set1"
}
I used version 28.0
If combine with another sentences
"snippet": "specializes in internal medicine with cardiovascular care subspecialist, and practices at ..<mark>sriwijaya</mark>"
The internal medicine don't have mark