Elastichsearch Aggregations

We have multiple hotels and each hotel has diffirent price for different date which is also device specific. Now, if user search for a date range(11-04-2016 to 13-04-2016) then we need to get:

Hotel sorted against thier aggregate prices for the given dates for each device type.

I had kept prices, availability & dates within nested objects. See gist below:

Please help.


This appears to be the same question as Elastichsearch Price Aggregations on multi Nested Objects. Please keep your questions on one thread and be patient when waiting for an answer (see https://www.elastic.co/community/codeofconduct for more information on the code of conduct for this forum, in this case the 'be patient' section).

1 Like

This topic was automatically closed after 17 minutes. New replies are no longer allowed.