Synonyms for Roman Numerals

I have a number of games that have sequels eg Game 1, Game 2, Game 3
But I need to cover the synonyms for Game 1, Game I, Game 2, Game II etc…
In the synonyms object, instead of writing a synonym for each game and its numerical and roman numeral values, can I set a global synonym to always look at any Game based on 2, II

Hi dev2!

This is absolutely possible, just set up a new synonym “I,1”, and another “II,2” for example, and you should find the behaviour you’re looking for. So “Game 2” would match “Game II”.

Feel free to check out our in-depth documentation on synonyms over at https://www.algolia.com/doc/guides/textual-relevance/synonyms/

Let us know if you’ve got any other queries!

Cheers,
Aaron

Great, thanks, works great now