A site with multiple countries - best way to organize the index / indices?

Hi everyone,

We're working on a site that has multiple countries and I'm just wondering what's the best way to organize the indices. There's not much variation between the countries - they're all similar collections so one way would be to put all countries in one index (but there's a lot of them) and then always add a filter to the search query based on the country users are searching from.

The other option would be to create a separate index for each country. This seems cleaner, but then if there was a change to the mappings, I'd need to make this update for each country.

Any advice on this?


Hi Ryan,
I guess that multiple countries means also multiple languages? Then having one index per country with one type each, and each one a different mapping that works well with each specific language is what I would do.

There are different ways to do this though. Maybe you can tell us more about what the website does and how the users search, so we can have a better idea of how to tackle it?


Hi Javanna,

Yes there will be multiple languages as well, I forgot to mention that.

We'll be creating a separate index for each country and language. Thanks!