Best mapping strategy

Hi,

I am newby to ES. We have in our DB this setup and we want to setup is to right mapping in ES.

Accommodation:

  • Each day of the year has a own price
  • Each price is/can be diffused by number of adults (1 adult > 100 per day, 2 adults > 120 per day ect )
  • Each price is/can be diffused by number of adults + children (1 adult + 1 child > 110 per day, 2 adults + 1 child > 120 per day ect )

All data we have in our postgres db. Now we want to add the data in the ES index. Can someone guide us in case of data mapping in ES ?

ciao.remco

Please don't create multiple threads on the same topic, it makes it harder to help you out :slight_smile: