Hi,
Each property has availabity. We make for each property 365 available days in our index. When a property is booked we remove the dates from the index. This works ok.
Now we want a step further. We have price diversity per number of guests. So we want to store in de index prices based on number of guest.
What is the best data mapping to do this? We have now this, but i am not sure if this is the right mapping ?
"properties": {
"adults": {
"type": "long"
},
"availability_adults": {
"type": "long"
},
"availability_children": {
"type": "long"
},
"availability_infants": {
"type": "long"
},
"availability_price": {
"type": "float"
},
"available_on": {
"type": "date"