array:5 [
"index" => "hotels1"
"from" => 0
"size" => 10
"_source" => array:14 [
0 => "title"
1 => "title_alternative"
2 => "slug"
3 => "images"
4 => "topCategory"
5 => "destinations"
6 => "rating_id"
7 => "rating_title"
8 => "seasons"
9 => "topCategoryDestination"
10 => "longitude"
11 => "latitude"
12 => "price_min"
13 => "price_max"
]
"body" => array:2 [
"query" => array:1 [
"bool" => array:2 [
"must" => array:3 [
0 => array:1 [
"match" => array:1 [
"is_hidden" => false
]
]
1 => array:1 [
"nested" => array:3 [
"path" => "prices"
"inner_hits" => array:4 [
"size" => 2
"_source" => true
"docvalue_fields" => array:1 [
"field" => "prices.price_final"
]
"sort" => array:3 [
"prices.top_termin.category_id" => array:3 [
"order" => "asc"
"mode" => "avg"
"nested" => array:2 [
"path" => "prices.top_termin"
"filter" => array:1 [
"term" => array:1 [
"prices.top_termin.category_id" => 364
]
]
]
]
"prices.price_final" => "asc"
"prices.start_date" => "asc"
]
]
"query" => array:1 [
"bool" => array:1 [
"must" => array:4 [
0 => array:1 [
"range" => array:1 [
"prices.start_date" => array:1 [
"gte" => "2025-04-03 00:00:00"
]
]
]
1 => array:1 [
"range" => array:1 [
"prices.end_date" => array:1 [
"lte" => "2026-02-03 23:59:59"
]
]
]
2 => array:1 [
"term" => array:1 [
"prices.is_promo" => true
]
]
3 => array:1 [
"nested" => array:2 [
"path" => "prices.occupancy_rooms"
"query" => array:1 [
"bool" => array:1 [
"must" => array:4 [
0 => array:1 [
"range" => array:1 [
"prices.occupancy_rooms.max_a" => array:1 [
"gte" => 2
]
]
]
1 => array:1 [
"range" => array:1 [
"prices.occupancy_rooms.min_a" => array:1 [
"lte" => 2
]
]
]
2 => array:1 [
"range" => array:1 [
"prices.occupancy_rooms.max_o" => array:1 [
"gte" => 2
]
]
]
3 => array:1 [
"range" => array:1 [
"prices.occupancy_rooms.min_o" => array:1 [
"lte" => 2
]
]
]
]
]
]
]
]
]
]
]
]
]
2 => array:1 [
"nested" => array:2 [
"path" => "prices"
"query" => array:1 [
"bool" => array:1 [
"must" => array:1 [
"term" => array:1 [
"prices.is_promo" => true
]
]
]
]
]
]
]
"must_not" => []
]
]
"sort" => array:2 [
0 => array:1 [
"topCategory.pos" => array:3 [
"order" => "asc"
"mode" => "min"
"nested" => array:2 [
"path" => "topCategory"
"filter" => array:1 [
"term" => array:1 [
"topCategory.category_id" => 364
]
]
]
]
]
1 => array:1 [
"prices.price_final" => array:3 [
"order" => "asc"
"mode" => "min"
"nested" => array:2 [
"path" => "prices"
"filter" => array:1 [
"bool" => array:1 [
"must" => array:4 [
0 => array:1 [
"range" => array:1 [
"prices.start_date" => array:1 [
"gte" => "2025-04-03 00:00:00"
]
]
]
1 => array:1 [
"range" => array:1 [
"prices.end_date" => array:1 [
"lte" => "2026-02-03 23:59:59"
]
]
]
2 => array:1 [
"term" => array:1 [
"prices.is_promo" => true
]
]
3 => array:1 [
"nested" => array:2 [
"path" => "prices.occupancy_rooms"
"query" => array:1 [
"bool" => array:1 [
"must" => array:4 [
0 => array:1 [
"range" => array:1 [
"prices.occupancy_rooms.max_a" => array:1 [
"gte" => 2
]
]
]
1 => array:1 [
"range" => array:1 [
"prices.occupancy_rooms.min_a" => array:1 [
"lte" => 2
]
]
]
2 => array:1 [
"range" => array:1 [
"prices.occupancy_rooms.max_o" => array:1 [
"gte" => 2
]
]
]
3 => array:1 [
"range" => array:1 [
"prices.occupancy_rooms.min_o" => array:1 [
"lte" => 2
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]