I have 4 tables:
- country
- state
- city
- address
These tables are related by ids where country is the top parent:
- state.countryId
- city.stateId
- address.cityId
I want to integrate elastic search on my application and want to know what is the best way to index these table?
Should i create 1 index for each tables so that i have 1 index for each of country, state, city and address?
Or should i denormalize the tables and create only 1 index and store all the data with redundancy?