Transliteration Algolia Cyrillic Strings
2 answers
Unfortunately, most search engines don't natively support transliteration; the same for Algolia.
The best way to handle this use case is to enrich your objects with transliterated attributes before submitting them to a search engine.
Perhaps you can try gausby / translitit-cyrillic-russian-to-latin ?
+6
source to share
Just add one little clarification. Let it be said that we have one field such as a name and many names.
you can create an object like
{
name: 'whatever',
translations: {
ru: ' ',
he: 'οτιδήποτε',
de: 'was auch immer'
}
}
Then you will enter your desired attributes name, translations.ru, translations.he, translations.de, so that the search will return "whatever" when the user enters "without pa", for example.
0
source to share