Globalization with Elastic Search

Hi All,

We have implemented ES Last Year(most of the information I gather from this discussion forum only :slight_smile: ) . We have implemented custom application to sync data from DB to ES indexes at regular intervals.
At High level we have 2 indexes
1 for Jobs
2 for files
Currently we are trying to implement Globalization in our application. Earlier application used to support English only.
in order to support Globalization for search queries , how should I design the indexes . is it like having different index for each language like jobs_en ,jobs_fr.
or Can I include new flag in jobs index to have different record for each language.
Any other suggestions Also welcome.

Regards,
Srikanth

any help here is appreciated. Thanks in advance.

There are two good options:

  1. Create an index per language, every index will have its own mapping and language analyzer on the relevant field
  2. Create one index for all, but have multiple fields for each language, each with its own analyzer.
1 Like

Yes @ssouris, I was thinking of same. Looking for opinions on this approach before starting. Thanks for the reply.

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.