Henrik Sjödahl
03/21/2025, 8:48 AM// Collection
{
"name": "test.stem",
"fields": [
{"name": "value", "type": "string", "stem": true, "locale": "sv" }
]
}
Data
{"id": "1","value": "Tomat"}
{"id": "2","value": "Tomater"}
{"id": "3","value": "Tomatsoppa"}
{"id": "4","value": "Ost"}
{"id": "5","value": "Osten"}
{"id": "6","value": "Ostar"}
{"id": "7","value": "Ostsås"}
Query
{{url}}/collections/{{collection_name}}/documents/search?q=tomater&query_by=value
"Tomat" is a tomato in singular in swedish, "Tomater" is plural.
Then searching for "tomater" the response is only the "Tomater" item, and not the "Tomat".
Doing the same thing in english the stemming work as expected
This is in Typesense 28.0