Henrik Sjödahl
06/26/2025, 12:04 PM{
"name": "products",
"fields": [
{"name": "sku", "type": "string" },
{"name": "name_sv", "type": "string", "locale": "sv" },
]
}
This will not match products with the name "tröja" since sku is not in "sv" locale and it's the first field in query_by
{
"collection": "products",
"q": "tröja",
"query_by": "sku,name_sv"
}
This will match products with the name "tröja" since name_sv is in "sv" locale
{
"collection": "products",
"q": "tröja",
"query_by": "name_sv,sku"
}Fanis Tharropoulos
06/26/2025, 12:06 PMHenrik Sjödahl
06/26/2025, 12:06 PMKishore Nallan
06/26/2025, 12:09 PMHenrik Sjödahl
06/26/2025, 12:12 PMKishore Nallan
06/26/2025, 12:13 PMHenrik Sjödahl
06/26/2025, 12:14 PM