was wondering what the best way to support multiple languages in search is.
Let’s say I have a firestore db with fields like name, name_de, name_fr etc.
So far I could only come up with two options:
Copy those fields, make them all searchable on Algolia (might hit the limit on searchable attributes pretty fast if there is one or make the search response less relevant) and search through all of them all the time.
Creating a new index (duplicate data) for every language where all the fields are the same compared to other indexes except for the strings which are saved in different languages in each index and then based on what language my user has currently chosen change the index i am searching over.
Any tips or other approaches?