Deprecated: Deprecated: Filters are deprecated. Use queries in filter context. See https://www.elastic.co/guide/en/elasticsearch/reference/2.0/query-dsl-filters.html in /home/zeoy87s/edirectory/vendor/ruflin/elastica/lib/Elastica/Filter/Terms.php on line 6

Deprecated: Deprecated: Filters are deprecated. Use queries in filter context. See https://www.elastic.co/guide/en/elasticsearch/reference/2.0/query-dsl-filters.html in /home/zeoy87s/edirectory/vendor/ruflin/elastica/lib/Elastica/Filter/AbstractFilter.php on line 7

Deprecated: Use bool() instead. Filtered query is deprecated since ES 2.0.0-beta1 and this method will be removed in further Elastica releases. in /home/zeoy87s/edirectory/vendor/ruflin/elastica/lib/Elastica/QueryBuilder/DSL/Query.php on line 202

Deprecated: Use BoolQuery instead. Filtered query is deprecated since ES 2.0.0-beta1 and this class will be removed in further Elastica releases. in /home/zeoy87s/edirectory/vendor/ruflin/elastica/lib/Elastica/Query/Filtered.php on line 7

Deprecated: Deprecated: Elastica\Query\Filtered passing AbstractFilter is deprecated. Pass AbstractQuery instead. in /home/zeoy87s/edirectory/vendor/ruflin/elastica/lib/Elastica/Query/Filtered.php on line 32

Deprecated: Deprecated: Elastica\Query\Filtered::setFilter passing AbstractFilter is deprecated. Pass AbstractQuery instead. in /home/zeoy87s/edirectory/vendor/ruflin/elastica/lib/Elastica/Query/Filtered.php on line 64

Deprecated: Use bool() instead. Filtered query is deprecated since ES 2.0.0-beta1 and this method will be removed in further Elastica releases. in /home/zeoy87s/edirectory/vendor/ruflin/elastica/lib/Elastica/QueryBuilder/DSL/Query.php on line 202

Deprecated: Deprecated: Elastica\Query\Filtered passing AbstractFilter is deprecated. Pass AbstractQuery instead. in /home/zeoy87s/edirectory/vendor/ruflin/elastica/lib/Elastica/Query/Filtered.php on line 32

Deprecated: Deprecated: Elastica\Query\Filtered::setFilter passing AbstractFilter is deprecated. Pass AbstractQuery instead. in /home/zeoy87s/edirectory/vendor/ruflin/elastica/lib/Elastica/Query/Filtered.php on line 64

Deprecated: Deprecated: Filters are deprecated. Use queries in filter context. See https://www.elastic.co/guide/en/elasticsearch/reference/2.0/query-dsl-filters.html in /home/zeoy87s/edirectory/vendor/ruflin/elastica/lib/Elastica/Filter/BoolFilter.php on line 6

Deprecated: Deprecated: Filters are deprecated. Use queries in filter context. See https://www.elastic.co/guide/en/elasticsearch/reference/2.0/query-dsl-filters.html in /home/zeoy87s/edirectory/vendor/ruflin/elastica/lib/Elastica/Filter/GeoDistance.php on line 4

Deprecated: Deprecated: Filters are deprecated. Use queries in filter context. See https://www.elastic.co/guide/en/elasticsearch/reference/2.0/query-dsl-filters.html in /home/zeoy87s/edirectory/vendor/ruflin/elastica/lib/Elastica/Filter/AbstractGeoDistance.php on line 6

Deprecated: Deprecated: Filters are deprecated. Use queries in filter context. See https://www.elastic.co/guide/en/elasticsearch/reference/2.0/query-dsl-filters.html in /home/zeoy87s/edirectory/vendor/ruflin/elastica/lib/Elastica/Filter/Type.php on line 4

Deprecated: Deprecated: Filters are deprecated. Use queries in filter context. See https://www.elastic.co/guide/en/elasticsearch/reference/2.0/query-dsl-filters.html in /home/zeoy87s/edirectory/vendor/ruflin/elastica/lib/Elastica/Filter/Term.php on line 4

Deprecated: Use bool() instead. Filtered query is deprecated since ES 2.0.0-beta1 and this method will be removed in further Elastica releases. in /home/zeoy87s/edirectory/vendor/ruflin/elastica/lib/Elastica/QueryBuilder/DSL/Query.php on line 202

Deprecated: Deprecated: Elastica\Query\Filtered passing AbstractFilter is deprecated. Pass AbstractQuery instead. in /home/zeoy87s/edirectory/vendor/ruflin/elastica/lib/Elastica/Query/Filtered.php on line 32

Deprecated: Deprecated: Elastica\Query\Filtered::setFilter passing AbstractFilter is deprecated. Pass AbstractQuery instead. in /home/zeoy87s/edirectory/vendor/ruflin/elastica/lib/Elastica/Query/Filtered.php on line 64

Deprecated: Use bool() instead. Filtered query is deprecated since ES 2.0.0-beta1 and this method will be removed in further Elastica releases. in /home/zeoy87s/edirectory/vendor/ruflin/elastica/lib/Elastica/QueryBuilder/DSL/Query.php on line 202

Deprecated: Deprecated: Elastica\Query\Filtered passing AbstractFilter is deprecated. Pass AbstractQuery instead. in /home/zeoy87s/edirectory/vendor/ruflin/elastica/lib/Elastica/Query/Filtered.php on line 32

Deprecated: Deprecated: Elastica\Query\Filtered::setFilter passing AbstractFilter is deprecated. Pass AbstractQuery instead. in /home/zeoy87s/edirectory/vendor/ruflin/elastica/lib/Elastica/Query/Filtered.php on line 64

Deprecated: Use bool() instead. Filtered query is deprecated since ES 2.0.0-beta1 and this method will be removed in further Elastica releases. in /home/zeoy87s/edirectory/vendor/ruflin/elastica/lib/Elastica/QueryBuilder/DSL/Query.php on line 202

Deprecated: Deprecated: Elastica\Query\Filtered passing AbstractFilter is deprecated. Pass AbstractQuery instead. in /home/zeoy87s/edirectory/vendor/ruflin/elastica/lib/Elastica/Query/Filtered.php on line 32

Deprecated: Deprecated: Elastica\Query\Filtered::setFilter passing AbstractFilter is deprecated. Pass AbstractQuery instead. in /home/zeoy87s/edirectory/vendor/ruflin/elastica/lib/Elastica/Query/Filtered.php on line 64

Deprecated: Deprecated: Filters are deprecated. Use queries in filter context. See https://www.elastic.co/guide/en/elasticsearch/reference/2.0/query-dsl-filters.html in /home/zeoy87s/edirectory/vendor/ruflin/elastica/lib/Elastica/Filter/Range.php on line 4

Deprecated: Use bool() instead. Filtered query is deprecated since ES 2.0.0-beta1 and this method will be removed in further Elastica releases. in /home/zeoy87s/edirectory/vendor/ruflin/elastica/lib/Elastica/QueryBuilder/DSL/Query.php on line 202

Deprecated: Deprecated: Elastica\Query\Filtered passing AbstractFilter is deprecated. Pass AbstractQuery instead. in /home/zeoy87s/edirectory/vendor/ruflin/elastica/lib/Elastica/Query/Filtered.php on line 32

Deprecated: Deprecated: Elastica\Query\Filtered::setFilter passing AbstractFilter is deprecated. Pass AbstractQuery instead. in /home/zeoy87s/edirectory/vendor/ruflin/elastica/lib/Elastica/Query/Filtered.php on line 64

Deprecated: Deprecated: Filters are deprecated. Use queries in filter context. See https://www.elastic.co/guide/en/elasticsearch/reference/2.0/query-dsl-filters.html in /home/zeoy87s/edirectory/vendor/ruflin/elastica/lib/Elastica/Filter/Exists.php on line 4

Deprecated: Use bool() instead. Filtered query is deprecated since ES 2.0.0-beta1 and this method will be removed in further Elastica releases. in /home/zeoy87s/edirectory/vendor/ruflin/elastica/lib/Elastica/QueryBuilder/DSL/Query.php on line 202

Deprecated: Deprecated: Elastica\Query\Filtered passing AbstractFilter is deprecated. Pass AbstractQuery instead. in /home/zeoy87s/edirectory/vendor/ruflin/elastica/lib/Elastica/Query/Filtered.php on line 32

Deprecated: Deprecated: Elastica\Query\Filtered::setFilter passing AbstractFilter is deprecated. Pass AbstractQuery instead. in /home/zeoy87s/edirectory/vendor/ruflin/elastica/lib/Elastica/Query/Filtered.php on line 64

Deprecated: Use bool() instead. Filtered query is deprecated since ES 2.0.0-beta1 and this method will be removed in further Elastica releases. in /home/zeoy87s/edirectory/vendor/ruflin/elastica/lib/Elastica/QueryBuilder/DSL/Query.php on line 202

Deprecated: Deprecated: Elastica\Query\Filtered passing AbstractFilter is deprecated. Pass AbstractQuery instead. in /home/zeoy87s/edirectory/vendor/ruflin/elastica/lib/Elastica/Query/Filtered.php on line 32

Deprecated: Deprecated: Elastica\Query\Filtered::setFilter passing AbstractFilter is deprecated. Pass AbstractQuery instead. in /home/zeoy87s/edirectory/vendor/ruflin/elastica/lib/Elastica/Query/Filtered.php on line 64

Deprecated: Use bool() instead. Filtered query is deprecated since ES 2.0.0-beta1 and this method will be removed in further Elastica releases. in /home/zeoy87s/edirectory/vendor/ruflin/elastica/lib/Elastica/QueryBuilder/DSL/Query.php on line 202

Deprecated: Deprecated: Elastica\Query\Filtered passing AbstractFilter is deprecated. Pass AbstractQuery instead. in /home/zeoy87s/edirectory/vendor/ruflin/elastica/lib/Elastica/Query/Filtered.php on line 32

Deprecated: Deprecated: Elastica\Query\Filtered::setFilter passing AbstractFilter is deprecated. Pass AbstractQuery instead. in /home/zeoy87s/edirectory/vendor/ruflin/elastica/lib/Elastica/Query/Filtered.php on line 64

Deprecated: Deprecated: Elastica\Aggregation\Filter passing filter as AbstractFilter is deprecated. Pass instance of AbstractQuery instead. in /home/zeoy87s/edirectory/vendor/ruflin/elastica/lib/Elastica/Aggregation/Filter.php on line 25

Deprecated: Deprecated: Elastica\Aggregation\Filter\setFilter() passing filter as AbstractFilter is deprecated. Pass instance of AbstractQuery instead. in /home/zeoy87s/edirectory/vendor/ruflin/elastica/lib/Elastica/Aggregation/Filter.php on line 44

Deprecated: Deprecated: Elastica\Aggregation\Filter passing filter as AbstractFilter is deprecated. Pass instance of AbstractQuery instead. in /home/zeoy87s/edirectory/vendor/ruflin/elastica/lib/Elastica/Aggregation/Filter.php on line 25

Deprecated: Deprecated: Elastica\Aggregation\Filter\setFilter() passing filter as AbstractFilter is deprecated. Pass instance of AbstractQuery instead. in /home/zeoy87s/edirectory/vendor/ruflin/elastica/lib/Elastica/Aggregation/Filter.php on line 44

Deprecated: Deprecated: Elastica\Aggregation\Filter passing filter as AbstractFilter is deprecated. Pass instance of AbstractQuery instead. in /home/zeoy87s/edirectory/vendor/ruflin/elastica/lib/Elastica/Aggregation/Filter.php on line 25

Deprecated: Deprecated: Elastica\Aggregation\Filter\setFilter() passing filter as AbstractFilter is deprecated. Pass instance of AbstractQuery instead. in /home/zeoy87s/edirectory/vendor/ruflin/elastica/lib/Elastica/Aggregation/Filter.php on line 44

Deprecated: Deprecated: Elastica\Aggregation\Filter passing filter as AbstractFilter is deprecated. Pass instance of AbstractQuery instead. in /home/zeoy87s/edirectory/vendor/ruflin/elastica/lib/Elastica/Aggregation/Filter.php on line 25

Deprecated: Deprecated: Elastica\Aggregation\Filter\setFilter() passing filter as AbstractFilter is deprecated. Pass instance of AbstractQuery instead. in /home/zeoy87s/edirectory/vendor/ruflin/elastica/lib/Elastica/Aggregation/Filter.php on line 44

Deprecated: Deprecated: Elastica\Aggregation\Filter passing filter as AbstractFilter is deprecated. Pass instance of AbstractQuery instead. in /home/zeoy87s/edirectory/vendor/ruflin/elastica/lib/Elastica/Aggregation/Filter.php on line 25

Deprecated: Deprecated: Elastica\Aggregation\Filter\setFilter() passing filter as AbstractFilter is deprecated. Pass instance of AbstractQuery instead. in /home/zeoy87s/edirectory/vendor/ruflin/elastica/lib/Elastica/Aggregation/Filter.php on line 44

Deprecated: Deprecated: Elastica\Aggregation\Filter passing filter as AbstractFilter is deprecated. Pass instance of AbstractQuery instead. in /home/zeoy87s/edirectory/vendor/ruflin/elastica/lib/Elastica/Aggregation/Filter.php on line 25

Deprecated: Deprecated: Elastica\Aggregation\Filter\setFilter() passing filter as AbstractFilter is deprecated. Pass instance of AbstractQuery instead. in /home/zeoy87s/edirectory/vendor/ruflin/elastica/lib/Elastica/Aggregation/Filter.php on line 44

Deprecated: Deprecated: Elastica\Aggregation\Filter passing filter as AbstractFilter is deprecated. Pass instance of AbstractQuery instead. in /home/zeoy87s/edirectory/vendor/ruflin/elastica/lib/Elastica/Aggregation/Filter.php on line 25

Deprecated: Deprecated: Elastica\Aggregation\Filter\setFilter() passing filter as AbstractFilter is deprecated. Pass instance of AbstractQuery instead. in /home/zeoy87s/edirectory/vendor/ruflin/elastica/lib/Elastica/Aggregation/Filter.php on line 44

Deprecated: Deprecated: Elastica\Aggregation\Filter passing filter as AbstractFilter is deprecated. Pass instance of AbstractQuery instead. in /home/zeoy87s/edirectory/vendor/ruflin/elastica/lib/Elastica/Aggregation/Filter.php on line 25

Deprecated: Deprecated: Elastica\Aggregation\Filter\setFilter() passing filter as AbstractFilter is deprecated. Pass instance of AbstractQuery instead. in /home/zeoy87s/edirectory/vendor/ruflin/elastica/lib/Elastica/Aggregation/Filter.php on line 44

Deprecated: Deprecated: Elastica\Aggregation\Filter passing filter as AbstractFilter is deprecated. Pass instance of AbstractQuery instead. in /home/zeoy87s/edirectory/vendor/ruflin/elastica/lib/Elastica/Aggregation/Filter.php on line 25

Deprecated: Deprecated: Elastica\Aggregation\Filter\setFilter() passing filter as AbstractFilter is deprecated. Pass instance of AbstractQuery instead. in /home/zeoy87s/edirectory/vendor/ruflin/elastica/lib/Elastica/Aggregation/Filter.php on line 44

Deprecated: Deprecated: Filters are deprecated. Use BoolQuery::addMust. See https://www.elastic.co/guide/en/elasticsearch/reference/2.0/query-dsl-filters.html in /home/zeoy87s/edirectory/vendor/ruflin/elastica/lib/Elastica/Filter/BoolAnd.php on line 4

Deprecated: Deprecated: Filters are deprecated. Use queries in filter context. See https://www.elastic.co/guide/en/elasticsearch/reference/2.0/query-dsl-filters.html in /home/zeoy87s/edirectory/vendor/ruflin/elastica/lib/Elastica/Filter/AbstractMulti.php on line 4

Deprecated: Deprecated: Elastica\Aggregation\Filter passing filter as AbstractFilter is deprecated. Pass instance of AbstractQuery instead. in /home/zeoy87s/edirectory/vendor/ruflin/elastica/lib/Elastica/Aggregation/Filter.php on line 25

Deprecated: Deprecated: Elastica\Aggregation\Filter\setFilter() passing filter as AbstractFilter is deprecated. Pass instance of AbstractQuery instead. in /home/zeoy87s/edirectory/vendor/ruflin/elastica/lib/Elastica/Aggregation/Filter.php on line 44

Deprecated: Deprecated: Elastica\Query::setPostFilter() passing filter as AbstractFilter is deprecated. Pass instance of AbstractQuery instead. in /home/zeoy87s/edirectory/vendor/ruflin/elastica/lib/Elastica/Query.php on line 468
array(7) { ["_source"]=> bool(true) ["aggs"]=> array(10) { ["CategoryFilter"]=> array(2) { ["terms"]=> array(2) { ["size"]=> string(3) "500" ["script"]=> string(59) "_doc['parentCategoryId'].values + _doc['categoryId'].values" } ["aggs"]=> array(1) { ["filtered"]=> array(1) { ["filter"]=> array(1) { ["bool"]=> array(1) { ["must"]=> array(1) { [0]=> array(2) { [0]=> array(1) { ["bool"]=> array(1) { ["should"]=> array(2) { [0]=> array(1) { ["terms"]=> array(1) { ["locationId"]=> array(1) { [0]=> string(7) "L4:1175" } } } [1]=> array(1) { ["geo_distance"]=> array(2) { ["distance"]=> string(5) "999mi" ["geoLocation"]=> array(2) { ["lat"]=> float(32.715738) ["lon"]=> float(-117.1610838) } } } } } } [1]=> array(1) { ["type"]=> array(1) { ["value"]=> string(7) "listing" } } } } } } } } } ["LocationFilter"]=> array(2) { ["terms"]=> array(2) { ["field"]=> string(10) "locationId" ["size"]=> string(3) "500" } ["aggs"]=> array(1) { ["filtered"]=> array(1) { ["filter"]=> array(1) { ["bool"]=> array(1) { ["must"]=> array(1) { [0]=> array(2) { [0]=> array(1) { ["terms"]=> array(1) { ["categoryId"]=> array(9) { [0]=> string(5) "L:584" [1]=> string(5) "L:486" [2]=> string(5) "L:372" [3]=> string(5) "L:266" [4]=> string(5) "L:160" [5]=> string(5) "L:328" [6]=> string(5) "L:495" [7]=> string(5) "L:485" [8]=> string(5) "L:487" } } } [1]=> array(1) { ["type"]=> array(1) { ["value"]=> string(7) "listing" } } } } } } } } } ["RatingFilter"]=> array(2) { ["terms"]=> array(2) { ["field"]=> string(13) "averageReview" ["size"]=> string(3) "500" } ["aggs"]=> array(2) { ["RatingFilter"]=> array(1) { ["terms"]=> array(1) { ["field"]=> string(5) "_type" } } ["filtered"]=> array(1) { ["filter"]=> array(1) { ["bool"]=> array(1) { ["must"]=> array(1) { [0]=> array(3) { [0]=> array(1) { ["terms"]=> array(1) { ["categoryId"]=> array(9) { [0]=> string(5) "L:584" [1]=> string(5) "L:486" [2]=> string(5) "L:372" [3]=> string(5) "L:266" [4]=> string(5) "L:160" [5]=> string(5) "L:328" [6]=> string(5) "L:495" [7]=> string(5) "L:485" [8]=> string(5) "L:487" } } } [1]=> array(1) { ["bool"]=> array(1) { ["should"]=> array(2) { [0]=> array(1) { ["terms"]=> array(1) { ["locationId"]=> array(1) { [0]=> string(7) "L4:1175" } } } [1]=> array(1) { ["geo_distance"]=> array(2) { ["distance"]=> string(5) "999mi" ["geoLocation"]=> array(2) { ["lat"]=> float(32.715738) ["lon"]=> float(-117.1610838) } } } } } } [2]=> array(1) { ["type"]=> array(1) { ["value"]=> string(7) "listing" } } } } } } } } } ["RealEstatePriceFilter"]=> array(2) { ["terms"]=> array(1) { ["script"]=> string(485) "def salePrice = doc['realEstatePriceSale'].value; def rentPrice = doc['realEstatePriceRent'].value; if (salePrice == 0 && rentPrice == 0) { return null; } else if (salePrice > 0 && rentPrice == 0) { return salePrice; } else if (salePrice == 0 && rentPrice > 0) { return rentPrice; } else { return salePrice; }" } ["aggs"]=> array(1) { ["filtered"]=> array(1) { ["filter"]=> array(1) { ["bool"]=> array(1) { ["must"]=> array(1) { [0]=> array(3) { [0]=> array(1) { ["terms"]=> array(1) { ["categoryId"]=> array(9) { [0]=> string(5) "L:584" [1]=> string(5) "L:486" [2]=> string(5) "L:372" [3]=> string(5) "L:266" [4]=> string(5) "L:160" [5]=> string(5) "L:328" [6]=> string(5) "L:495" [7]=> string(5) "L:485" [8]=> string(5) "L:487" } } } [1]=> array(1) { ["bool"]=> array(1) { ["should"]=> array(2) { [0]=> array(1) { ["terms"]=> array(1) { ["locationId"]=> array(1) { [0]=> string(7) "L4:1175" } } } [1]=> array(1) { ["geo_distance"]=> array(2) { ["distance"]=> string(5) "999mi" ["geoLocation"]=> array(2) { ["lat"]=> float(32.715738) ["lon"]=> float(-117.1610838) } } } } } } [2]=> array(1) { ["type"]=> array(1) { ["value"]=> string(7) "listing" } } } } } } } } } ["RealEstatePropertySizeFilter"]=> array(2) { ["terms"]=> array(1) { ["script"]=> string(249) " if (doc['realEstatePropertySize'].size() == 0 || doc['realEstatePropertySize'].value == 0) { return null; } else { return doc['realEstatePropertySize'].value; }" } ["aggs"]=> array(1) { ["filtered"]=> array(1) { ["filter"]=> array(1) { ["bool"]=> array(1) { ["must"]=> array(1) { [0]=> array(3) { [0]=> array(1) { ["terms"]=> array(1) { ["categoryId"]=> array(9) { [0]=> string(5) "L:584" [1]=> string(5) "L:486" [2]=> string(5) "L:372" [3]=> string(5) "L:266" [4]=> string(5) "L:160" [5]=> string(5) "L:328" [6]=> string(5) "L:495" [7]=> string(5) "L:485" [8]=> string(5) "L:487" } } } [1]=> array(1) { ["bool"]=> array(1) { ["should"]=> array(2) { [0]=> array(1) { ["terms"]=> array(1) { ["locationId"]=> array(1) { [0]=> string(7) "L4:1175" } } } [1]=> array(1) { ["geo_distance"]=> array(2) { ["distance"]=> string(5) "999mi" ["geoLocation"]=> array(2) { ["lat"]=> float(32.715738) ["lon"]=> float(-117.1610838) } } } } } } [2]=> array(1) { ["type"]=> array(1) { ["value"]=> string(7) "listing" } } } } } } } } } ["RealEstateLandSizeFilter"]=> array(2) { ["terms"]=> array(1) { ["script"]=> string(196) " if (doc['realEstateLandSize'].value == 0) { return null; } else { return doc['realEstateLandSize'].value; }" } ["aggs"]=> array(1) { ["filtered"]=> array(1) { ["filter"]=> array(1) { ["bool"]=> array(1) { ["must"]=> array(1) { [0]=> array(3) { [0]=> array(1) { ["terms"]=> array(1) { ["categoryId"]=> array(9) { [0]=> string(5) "L:584" [1]=> string(5) "L:486" [2]=> string(5) "L:372" [3]=> string(5) "L:266" [4]=> string(5) "L:160" [5]=> string(5) "L:328" [6]=> string(5) "L:495" [7]=> string(5) "L:485" [8]=> string(5) "L:487" } } } [1]=> array(1) { ["bool"]=> array(1) { ["should"]=> array(2) { [0]=> array(1) { ["terms"]=> array(1) { ["locationId"]=> array(1) { [0]=> string(7) "L4:1175" } } } [1]=> array(1) { ["geo_distance"]=> array(2) { ["distance"]=> string(5) "999mi" ["geoLocation"]=> array(2) { ["lat"]=> float(32.715738) ["lon"]=> float(-117.1610838) } } } } } } [2]=> array(1) { ["type"]=> array(1) { ["value"]=> string(7) "listing" } } } } } } } } } ["RealEstateBedroomFilter"]=> array(2) { ["terms"]=> array(1) { ["script"]=> string(75) "doc['realEstateBedroom'].value == 0 ? null : doc['realEstateBedroom'].value" } ["aggs"]=> array(1) { ["filtered"]=> array(1) { ["filter"]=> array(1) { ["bool"]=> array(1) { ["must"]=> array(1) { [0]=> array(3) { [0]=> array(1) { ["terms"]=> array(1) { ["categoryId"]=> array(9) { [0]=> string(5) "L:584" [1]=> string(5) "L:486" [2]=> string(5) "L:372" [3]=> string(5) "L:266" [4]=> string(5) "L:160" [5]=> string(5) "L:328" [6]=> string(5) "L:495" [7]=> string(5) "L:485" [8]=> string(5) "L:487" } } } [1]=> array(1) { ["bool"]=> array(1) { ["should"]=> array(2) { [0]=> array(1) { ["terms"]=> array(1) { ["locationId"]=> array(1) { [0]=> string(7) "L4:1175" } } } [1]=> array(1) { ["geo_distance"]=> array(2) { ["distance"]=> string(5) "999mi" ["geoLocation"]=> array(2) { ["lat"]=> float(32.715738) ["lon"]=> float(-117.1610838) } } } } } } [2]=> array(1) { ["type"]=> array(1) { ["value"]=> string(7) "listing" } } } } } } } } } ["RealEstateBathroomFilter"]=> array(2) { ["terms"]=> array(1) { ["script"]=> string(78) "doc['realEstateBathroom'].value == 0 ? null : doc['realEstateBathroom'].value;" } ["aggs"]=> array(1) { ["filtered"]=> array(1) { ["filter"]=> array(1) { ["bool"]=> array(1) { ["must"]=> array(1) { [0]=> array(3) { [0]=> array(1) { ["terms"]=> array(1) { ["categoryId"]=> array(9) { [0]=> string(5) "L:584" [1]=> string(5) "L:486" [2]=> string(5) "L:372" [3]=> string(5) "L:266" [4]=> string(5) "L:160" [5]=> string(5) "L:328" [6]=> string(5) "L:495" [7]=> string(5) "L:485" [8]=> string(5) "L:487" } } } [1]=> array(1) { ["bool"]=> array(1) { ["should"]=> array(2) { [0]=> array(1) { ["terms"]=> array(1) { ["locationId"]=> array(1) { [0]=> string(7) "L4:1175" } } } [1]=> array(1) { ["geo_distance"]=> array(2) { ["distance"]=> string(5) "999mi" ["geoLocation"]=> array(2) { ["lat"]=> float(32.715738) ["lon"]=> float(-117.1610838) } } } } } } [2]=> array(1) { ["type"]=> array(1) { ["value"]=> string(7) "listing" } } } } } } } } } ["RealEstateGarageFilter"]=> array(2) { ["terms"]=> array(1) { ["script"]=> string(29) "doc['realEstateGarage'].value" } ["aggs"]=> array(1) { ["filtered"]=> array(1) { ["filter"]=> array(1) { ["bool"]=> array(1) { ["must"]=> array(1) { [0]=> array(3) { [0]=> array(1) { ["terms"]=> array(1) { ["categoryId"]=> array(9) { [0]=> string(5) "L:584" [1]=> string(5) "L:486" [2]=> string(5) "L:372" [3]=> string(5) "L:266" [4]=> string(5) "L:160" [5]=> string(5) "L:328" [6]=> string(5) "L:495" [7]=> string(5) "L:485" [8]=> string(5) "L:487" } } } [1]=> array(1) { ["bool"]=> array(1) { ["should"]=> array(2) { [0]=> array(1) { ["terms"]=> array(1) { ["locationId"]=> array(1) { [0]=> string(7) "L4:1175" } } } [1]=> array(1) { ["geo_distance"]=> array(2) { ["distance"]=> string(5) "999mi" ["geoLocation"]=> array(2) { ["lat"]=> float(32.715738) ["lon"]=> float(-117.1610838) } } } } } } [2]=> array(1) { ["type"]=> array(1) { ["value"]=> string(7) "listing" } } } } } } } } } ["ModuleFilter"]=> array(2) { ["terms"]=> array(2) { ["field"]=> string(5) "_type" ["size"]=> string(3) "500" } ["aggs"]=> array(1) { ["filtered"]=> array(1) { ["filter"]=> array(1) { ["and"]=> array(2) { [0]=> array(1) { ["terms"]=> array(1) { ["categoryId"]=> array(9) { [0]=> string(5) "L:584" [1]=> string(5) "L:486" [2]=> string(5) "L:372" [3]=> string(5) "L:266" [4]=> string(5) "L:160" [5]=> string(5) "L:328" [6]=> string(5) "L:495" [7]=> string(5) "L:485" [8]=> string(5) "L:487" } } } [1]=> array(1) { ["bool"]=> array(1) { ["should"]=> array(2) { [0]=> array(1) { ["terms"]=> array(1) { ["locationId"]=> array(1) { [0]=> string(7) "L4:1175" } } } [1]=> array(1) { ["geo_distance"]=> array(2) { ["distance"]=> string(5) "999mi" ["geoLocation"]=> array(2) { ["lat"]=> float(32.715738) ["lon"]=> float(-117.1610838) } } } } } } } } } } } } ["post_filter"]=> array(1) { ["bool"]=> array(1) { ["must"]=> array(1) { [0]=> array(3) { [0]=> array(1) { ["terms"]=> array(1) { ["categoryId"]=> array(9) { [0]=> string(5) "L:584" [1]=> string(5) "L:486" [2]=> string(5) "L:372" [3]=> string(5) "L:266" [4]=> string(5) "L:160" [5]=> string(5) "L:328" [6]=> string(5) "L:495" [7]=> string(5) "L:485" [8]=> string(5) "L:487" } } } [1]=> array(1) { ["bool"]=> array(1) { ["should"]=> array(2) { [0]=> array(1) { ["terms"]=> array(1) { ["locationId"]=> array(1) { [0]=> string(7) "L4:1175" } } } [1]=> array(1) { ["geo_distance"]=> array(2) { ["distance"]=> string(5) "999mi" ["geoLocation"]=> array(2) { ["lat"]=> float(32.715738) ["lon"]=> float(-117.1610838) } } } } } } [2]=> array(1) { ["type"]=> array(1) { ["value"]=> string(7) "listing" } } } } } } ["script_fields"]=> array(1) { ["nextOccur"]=> array(3) { ["script"]=> string(14) "nextOccurrence" ["params"]=> array(1) { ["field"]=> string(14) "recurrent_date" } ["lang"]=> string(6) "native" } } ["query"]=> array(1) { ["function_score"]=> array(2) { ["random_score"]=> object(stdClass)#2241 (1) { ["seed"]=> float(1459489) } ["query"]=> array(1) { ["bool"]=> array(1) { ["should"]=> array(7) { [0]=> array(1) { ["filtered"]=> array(2) { ["query"]=> array(1) { ["match_all"]=> object(stdClass)#2388 (0) { } } ["filter"]=> array(1) { ["bool"]=> array(1) { ["must"]=> array(2) { [0]=> array(1) { ["type"]=> array(1) { ["value"]=> string(7) "listing" } } [1]=> array(1) { ["term"]=> array(1) { ["status"]=> bool(true) } } } } } } } [1]=> array(1) { ["filtered"]=> array(2) { ["query"]=> array(1) { ["match_all"]=> object(stdClass)#2372 (0) { } } ["filter"]=> array(1) { ["bool"]=> array(1) { ["must"]=> array(2) { [0]=> array(1) { ["type"]=> array(1) { ["value"]=> string(10) "classified" } } [1]=> array(1) { ["term"]=> array(1) { ["status"]=> bool(true) } } } } } } } [2]=> array(1) { ["filtered"]=> array(2) { ["query"]=> array(1) { ["match_all"]=> object(stdClass)#2354 (0) { } } ["filter"]=> array(1) { ["bool"]=> array(1) { ["must"]=> array(2) { [0]=> array(1) { ["type"]=> array(1) { ["value"]=> string(5) "event" } } [1]=> array(1) { ["term"]=> array(1) { ["status"]=> bool(true) } } } } } } } [3]=> array(1) { ["filtered"]=> array(2) { ["query"]=> array(1) { ["match_all"]=> object(stdClass)#2340 (0) { } } ["filter"]=> array(1) { ["bool"]=> array(1) { ["must"]=> array(3) { [0]=> array(1) { ["type"]=> array(1) { ["value"]=> string(7) "article" } } [1]=> array(1) { ["term"]=> array(1) { ["status"]=> bool(true) } } [2]=> array(1) { ["range"]=> array(1) { ["publicationDate"]=> array(1) { ["lte"]=> string(19) "2025-07-01 09:24:11" } } } } } } } } [4]=> array(1) { ["filtered"]=> array(2) { ["query"]=> array(1) { ["match_all"]=> object(stdClass)#2368 (0) { } } ["filter"]=> array(1) { ["bool"]=> array(1) { ["must"]=> array(7) { [0]=> array(1) { ["type"]=> array(1) { ["value"]=> string(4) "deal" } } [1]=> array(1) { ["term"]=> array(1) { ["status"]=> bool(true) } } [2]=> array(1) { ["range"]=> array(1) { ["date.start"]=> array(1) { ["lte"]=> string(3) "now" } } } [3]=> array(1) { ["range"]=> array(1) { ["date.end"]=> array(1) { ["gte"]=> string(5) "now/d" } } } [4]=> array(1) { ["exists"]=> array(1) { ["field"]=> string(19) "listing.friendlyUrl" } } [5]=> array(1) { ["range"]=> array(1) { ["amount"]=> array(1) { ["gt"]=> int(0) } } } [6]=> array(1) { ["term"]=> array(1) { ["appExclusive"]=> int(0) } } } } } } } [5]=> array(1) { ["filtered"]=> array(2) { ["query"]=> array(1) { ["match_all"]=> object(stdClass)#2338 (0) { } } ["filter"]=> array(1) { ["bool"]=> array(1) { ["must"]=> array(3) { [0]=> array(1) { ["term"]=> array(1) { ["_type"]=> string(4) "blog" } } [1]=> array(1) { ["term"]=> array(1) { ["status"]=> bool(true) } } [2]=> array(1) { ["range"]=> array(1) { ["publicationDate"]=> array(1) { ["lte"]=> string(19) "2025-07-01 09:24:11" } } } } } } } } [6]=> array(1) { ["filtered"]=> array(1) { ["filter"]=> array(1) { ["bool"]=> array(2) { ["must"]=> array(2) { [0]=> array(1) { ["type"]=> array(1) { ["value"]=> string(8) "question" } } [1]=> array(1) { ["term"]=> array(1) { ["status"]=> bool(true) } } } ["must_not"]=> array(1) { [0]=> array(1) { ["terms"]=> array(1) { ["_id"]=> array(0) { } } } } } } } } } } } } } ["track_scores"]=> bool(false) ["sort"]=> array(7) { ["_source"]=> bool(true) ["aggs"]=> array(10) { ["CategoryFilter"]=> array(2) { ["terms"]=> array(2) { ["size"]=> string(3) "500" ["script"]=> string(59) "_doc['parentCategoryId'].values + _doc['categoryId'].values" } ["aggs"]=> array(1) { ["filtered"]=> array(1) { ["filter"]=> array(1) { ["bool"]=> array(1) { ["must"]=> array(1) { [0]=> array(2) { [0]=> array(1) { ["bool"]=> array(1) { ["should"]=> array(2) { [0]=> array(1) { ["terms"]=> array(1) { ["locationId"]=> array(1) { [0]=> string(7) "L4:1175" } } } [1]=> array(1) { ["geo_distance"]=> array(2) { ["distance"]=> string(5) "999mi" ["geoLocation"]=> array(2) { ["lat"]=> float(32.715738) ["lon"]=> float(-117.1610838) } } } } } } [1]=> array(1) { ["type"]=> array(1) { ["value"]=> string(7) "listing" } } } } } } } } } ["LocationFilter"]=> array(2) { ["terms"]=> array(2) { ["field"]=> string(10) "locationId" ["size"]=> string(3) "500" } ["aggs"]=> array(1) { ["filtered"]=> array(1) { ["filter"]=> array(1) { ["bool"]=> array(1) { ["must"]=> array(1) { [0]=> array(2) { [0]=> array(1) { ["terms"]=> array(1) { ["categoryId"]=> array(9) { [0]=> string(5) "L:584" [1]=> string(5) "L:486" [2]=> string(5) "L:372" [3]=> string(5) "L:266" [4]=> string(5) "L:160" [5]=> string(5) "L:328" [6]=> string(5) "L:495" [7]=> string(5) "L:485" [8]=> string(5) "L:487" } } } [1]=> array(1) { ["type"]=> array(1) { ["value"]=> string(7) "listing" } } } } } } } } } ["RatingFilter"]=> array(2) { ["terms"]=> array(2) { ["field"]=> string(13) "averageReview" ["size"]=> string(3) "500" } ["aggs"]=> array(2) { ["RatingFilter"]=> array(1) { ["terms"]=> array(1) { ["field"]=> string(5) "_type" } } ["filtered"]=> array(1) { ["filter"]=> array(1) { ["bool"]=> array(1) { ["must"]=> array(1) { [0]=> array(3) { [0]=> array(1) { ["terms"]=> array(1) { ["categoryId"]=> array(9) { [0]=> string(5) "L:584" [1]=> string(5) "L:486" [2]=> string(5) "L:372" [3]=> string(5) "L:266" [4]=> string(5) "L:160" [5]=> string(5) "L:328" [6]=> string(5) "L:495" [7]=> string(5) "L:485" [8]=> string(5) "L:487" } } } [1]=> array(1) { ["bool"]=> array(1) { ["should"]=> array(2) { [0]=> array(1) { ["terms"]=> array(1) { ["locationId"]=> array(1) { [0]=> string(7) "L4:1175" } } } [1]=> array(1) { ["geo_distance"]=> array(2) { ["distance"]=> string(5) "999mi" ["geoLocation"]=> array(2) { ["lat"]=> float(32.715738) ["lon"]=> float(-117.1610838) } } } } } } [2]=> array(1) { ["type"]=> array(1) { ["value"]=> string(7) "listing" } } } } } } } } } ["RealEstatePriceFilter"]=> array(2) { ["terms"]=> array(1) { ["script"]=> string(485) "def salePrice = doc['realEstatePriceSale'].value; def rentPrice = doc['realEstatePriceRent'].value; if (salePrice == 0 && rentPrice == 0) { return null; } else if (salePrice > 0 && rentPrice == 0) { return salePrice; } else if (salePrice == 0 && rentPrice > 0) { return rentPrice; } else { return salePrice; }" } ["aggs"]=> array(1) { ["filtered"]=> array(1) { ["filter"]=> array(1) { ["bool"]=> array(1) { ["must"]=> array(1) { [0]=> array(3) { [0]=> array(1) { ["terms"]=> array(1) { ["categoryId"]=> array(9) { [0]=> string(5) "L:584" [1]=> string(5) "L:486" [2]=> string(5) "L:372" [3]=> string(5) "L:266" [4]=> string(5) "L:160" [5]=> string(5) "L:328" [6]=> string(5) "L:495" [7]=> string(5) "L:485" [8]=> string(5) "L:487" } } } [1]=> array(1) { ["bool"]=> array(1) { ["should"]=> array(2) { [0]=> array(1) { ["terms"]=> array(1) { ["locationId"]=> array(1) { [0]=> string(7) "L4:1175" } } } [1]=> array(1) { ["geo_distance"]=> array(2) { ["distance"]=> string(5) "999mi" ["geoLocation"]=> array(2) { ["lat"]=> float(32.715738) ["lon"]=> float(-117.1610838) } } } } } } [2]=> array(1) { ["type"]=> array(1) { ["value"]=> string(7) "listing" } } } } } } } } } ["RealEstatePropertySizeFilter"]=> array(2) { ["terms"]=> array(1) { ["script"]=> string(249) " if (doc['realEstatePropertySize'].size() == 0 || doc['realEstatePropertySize'].value == 0) { return null; } else { return doc['realEstatePropertySize'].value; }" } ["aggs"]=> array(1) { ["filtered"]=> array(1) { ["filter"]=> array(1) { ["bool"]=> array(1) { ["must"]=> array(1) { [0]=> array(3) { [0]=> array(1) { ["terms"]=> array(1) { ["categoryId"]=> array(9) { [0]=> string(5) "L:584" [1]=> string(5) "L:486" [2]=> string(5) "L:372" [3]=> string(5) "L:266" [4]=> string(5) "L:160" [5]=> string(5) "L:328" [6]=> string(5) "L:495" [7]=> string(5) "L:485" [8]=> string(5) "L:487" } } } [1]=> array(1) { ["bool"]=> array(1) { ["should"]=> array(2) { [0]=> array(1) { ["terms"]=> array(1) { ["locationId"]=> array(1) { [0]=> string(7) "L4:1175" } } } [1]=> array(1) { ["geo_distance"]=> array(2) { ["distance"]=> string(5) "999mi" ["geoLocation"]=> array(2) { ["lat"]=> float(32.715738) ["lon"]=> float(-117.1610838) } } } } } } [2]=> array(1) { ["type"]=> array(1) { ["value"]=> string(7) "listing" } } } } } } } } } ["RealEstateLandSizeFilter"]=> array(2) { ["terms"]=> array(1) { ["script"]=> string(196) " if (doc['realEstateLandSize'].value == 0) { return null; } else { return doc['realEstateLandSize'].value; }" } ["aggs"]=> array(1) { ["filtered"]=> array(1) { ["filter"]=> array(1) { ["bool"]=> array(1) { ["must"]=> array(1) { [0]=> array(3) { [0]=> array(1) { ["terms"]=> array(1) { ["categoryId"]=> array(9) { [0]=> string(5) "L:584" [1]=> string(5) "L:486" [2]=> string(5) "L:372" [3]=> string(5) "L:266" [4]=> string(5) "L:160" [5]=> string(5) "L:328" [6]=> string(5) "L:495" [7]=> string(5) "L:485" [8]=> string(5) "L:487" } } } [1]=> array(1) { ["bool"]=> array(1) { ["should"]=> array(2) { [0]=> array(1) { ["terms"]=> array(1) { ["locationId"]=> array(1) { [0]=> string(7) "L4:1175" } } } [1]=> array(1) { ["geo_distance"]=> array(2) { ["distance"]=> string(5) "999mi" ["geoLocation"]=> array(2) { ["lat"]=> float(32.715738) ["lon"]=> float(-117.1610838) } } } } } } [2]=> array(1) { ["type"]=> array(1) { ["value"]=> string(7) "listing" } } } } } } } } } ["RealEstateBedroomFilter"]=> array(2) { ["terms"]=> array(1) { ["script"]=> string(75) "doc['realEstateBedroom'].value == 0 ? null : doc['realEstateBedroom'].value" } ["aggs"]=> array(1) { ["filtered"]=> array(1) { ["filter"]=> array(1) { ["bool"]=> array(1) { ["must"]=> array(1) { [0]=> array(3) { [0]=> array(1) { ["terms"]=> array(1) { ["categoryId"]=> array(9) { [0]=> string(5) "L:584" [1]=> string(5) "L:486" [2]=> string(5) "L:372" [3]=> string(5) "L:266" [4]=> string(5) "L:160" [5]=> string(5) "L:328" [6]=> string(5) "L:495" [7]=> string(5) "L:485" [8]=> string(5) "L:487" } } } [1]=> array(1) { ["bool"]=> array(1) { ["should"]=> array(2) { [0]=> array(1) { ["terms"]=> array(1) { ["locationId"]=> array(1) { [0]=> string(7) "L4:1175" } } } [1]=> array(1) { ["geo_distance"]=> array(2) { ["distance"]=> string(5) "999mi" ["geoLocation"]=> array(2) { ["lat"]=> float(32.715738) ["lon"]=> float(-117.1610838) } } } } } } [2]=> array(1) { ["type"]=> array(1) { ["value"]=> string(7) "listing" } } } } } } } } } ["RealEstateBathroomFilter"]=> array(2) { ["terms"]=> array(1) { ["script"]=> string(78) "doc['realEstateBathroom'].value == 0 ? null : doc['realEstateBathroom'].value;" } ["aggs"]=> array(1) { ["filtered"]=> array(1) { ["filter"]=> array(1) { ["bool"]=> array(1) { ["must"]=> array(1) { [0]=> array(3) { [0]=> array(1) { ["terms"]=> array(1) { ["categoryId"]=> array(9) { [0]=> string(5) "L:584" [1]=> string(5) "L:486" [2]=> string(5) "L:372" [3]=> string(5) "L:266" [4]=> string(5) "L:160" [5]=> string(5) "L:328" [6]=> string(5) "L:495" [7]=> string(5) "L:485" [8]=> string(5) "L:487" } } } [1]=> array(1) { ["bool"]=> array(1) { ["should"]=> array(2) { [0]=> array(1) { ["terms"]=> array(1) { ["locationId"]=> array(1) { [0]=> string(7) "L4:1175" } } } [1]=> array(1) { ["geo_distance"]=> array(2) { ["distance"]=> string(5) "999mi" ["geoLocation"]=> array(2) { ["lat"]=> float(32.715738) ["lon"]=> float(-117.1610838) } } } } } } [2]=> array(1) { ["type"]=> array(1) { ["value"]=> string(7) "listing" } } } } } } } } } ["RealEstateGarageFilter"]=> array(2) { ["terms"]=> array(1) { ["script"]=> string(29) "doc['realEstateGarage'].value" } ["aggs"]=> array(1) { ["filtered"]=> array(1) { ["filter"]=> array(1) { ["bool"]=> array(1) { ["must"]=> array(1) { [0]=> array(3) { [0]=> array(1) { ["terms"]=> array(1) { ["categoryId"]=> array(9) { [0]=> string(5) "L:584" [1]=> string(5) "L:486" [2]=> string(5) "L:372" [3]=> string(5) "L:266" [4]=> string(5) "L:160" [5]=> string(5) "L:328" [6]=> string(5) "L:495" [7]=> string(5) "L:485" [8]=> string(5) "L:487" } } } [1]=> array(1) { ["bool"]=> array(1) { ["should"]=> array(2) { [0]=> array(1) { ["terms"]=> array(1) { ["locationId"]=> array(1) { [0]=> string(7) "L4:1175" } } } [1]=> array(1) { ["geo_distance"]=> array(2) { ["distance"]=> string(5) "999mi" ["geoLocation"]=> array(2) { ["lat"]=> float(32.715738) ["lon"]=> float(-117.1610838) } } } } } } [2]=> array(1) { ["type"]=> array(1) { ["value"]=> string(7) "listing" } } } } } } } } } ["ModuleFilter"]=> array(2) { ["terms"]=> array(2) { ["field"]=> string(5) "_type" ["size"]=> string(3) "500" } ["aggs"]=> array(1) { ["filtered"]=> array(1) { ["filter"]=> array(1) { ["and"]=> array(2) { [0]=> array(1) { ["terms"]=> array(1) { ["categoryId"]=> array(9) { [0]=> string(5) "L:584" [1]=> string(5) "L:486" [2]=> string(5) "L:372" [3]=> string(5) "L:266" [4]=> string(5) "L:160" [5]=> string(5) "L:328" [6]=> string(5) "L:495" [7]=> string(5) "L:485" [8]=> string(5) "L:487" } } } [1]=> array(1) { ["bool"]=> array(1) { ["should"]=> array(2) { [0]=> array(1) { ["terms"]=> array(1) { ["locationId"]=> array(1) { [0]=> string(7) "L4:1175" } } } [1]=> array(1) { ["geo_distance"]=> array(2) { ["distance"]=> string(5) "999mi" ["geoLocation"]=> array(2) { ["lat"]=> float(32.715738) ["lon"]=> float(-117.1610838) } } } } } } } } } } } } ["post_filter"]=> array(1) { ["bool"]=> array(1) { ["must"]=> array(1) { [0]=> array(3) { [0]=> array(1) { ["terms"]=> array(1) { ["categoryId"]=> array(9) { [0]=> string(5) "L:584" [1]=> string(5) "L:486" [2]=> string(5) "L:372" [3]=> string(5) "L:266" [4]=> string(5) "L:160" [5]=> string(5) "L:328" [6]=> string(5) "L:495" [7]=> string(5) "L:485" [8]=> string(5) "L:487" } } } [1]=> array(1) { ["bool"]=> array(1) { ["should"]=> array(2) { [0]=> array(1) { ["terms"]=> array(1) { ["locationId"]=> array(1) { [0]=> string(7) "L4:1175" } } } [1]=> array(1) { ["geo_distance"]=> array(2) { ["distance"]=> string(5) "999mi" ["geoLocation"]=> array(2) { ["lat"]=> float(32.715738) ["lon"]=> float(-117.1610838) } } } } } } [2]=> array(1) { ["type"]=> array(1) { ["value"]=> string(7) "listing" } } } } } } ["script_fields"]=> array(1) { ["nextOccur"]=> array(3) { ["script"]=> string(14) "nextOccurrence" ["params"]=> array(1) { ["field"]=> string(14) "recurrent_date" } ["lang"]=> string(6) "native" } } ["query"]=> array(1) { ["function_score"]=> array(2) { ["random_score"]=> object(stdClass)#2241 (1) { ["seed"]=> float(1459489) } ["query"]=> array(1) { ["bool"]=> array(1) { ["should"]=> array(7) { [0]=> array(1) { ["filtered"]=> array(2) { ["query"]=> array(1) { ["match_all"]=> object(stdClass)#2388 (0) { } } ["filter"]=> array(1) { ["bool"]=> array(1) { ["must"]=> array(2) { [0]=> array(1) { ["type"]=> array(1) { ["value"]=> string(7) "listing" } } [1]=> array(1) { ["term"]=> array(1) { ["status"]=> bool(true) } } } } } } } [1]=> array(1) { ["filtered"]=> array(2) { ["query"]=> array(1) { ["match_all"]=> object(stdClass)#2372 (0) { } } ["filter"]=> array(1) { ["bool"]=> array(1) { ["must"]=> array(2) { [0]=> array(1) { ["type"]=> array(1) { ["value"]=> string(10) "classified" } } [1]=> array(1) { ["term"]=> array(1) { ["status"]=> bool(true) } } } } } } } [2]=> array(1) { ["filtered"]=> array(2) { ["query"]=> array(1) { ["match_all"]=> object(stdClass)#2354 (0) { } } ["filter"]=> array(1) { ["bool"]=> array(1) { ["must"]=> array(2) { [0]=> array(1) { ["type"]=> array(1) { ["value"]=> string(5) "event" } } [1]=> array(1) { ["term"]=> array(1) { ["status"]=> bool(true) } } } } } } } [3]=> array(1) { ["filtered"]=> array(2) { ["query"]=> array(1) { ["match_all"]=> object(stdClass)#2340 (0) { } } ["filter"]=> array(1) { ["bool"]=> array(1) { ["must"]=> array(3) { [0]=> array(1) { ["type"]=> array(1) { ["value"]=> string(7) "article" } } [1]=> array(1) { ["term"]=> array(1) { ["status"]=> bool(true) } } [2]=> array(1) { ["range"]=> array(1) { ["publicationDate"]=> array(1) { ["lte"]=> string(19) "2025-07-01 09:24:11" } } } } } } } } [4]=> array(1) { ["filtered"]=> array(2) { ["query"]=> array(1) { ["match_all"]=> object(stdClass)#2368 (0) { } } ["filter"]=> array(1) { ["bool"]=> array(1) { ["must"]=> array(7) { [0]=> array(1) { ["type"]=> array(1) { ["value"]=> string(4) "deal" } } [1]=> array(1) { ["term"]=> array(1) { ["status"]=> bool(true) } } [2]=> array(1) { ["range"]=> array(1) { ["date.start"]=> array(1) { ["lte"]=> string(3) "now" } } } [3]=> array(1) { ["range"]=> array(1) { ["date.end"]=> array(1) { ["gte"]=> string(5) "now/d" } } } [4]=> array(1) { ["exists"]=> array(1) { ["field"]=> string(19) "listing.friendlyUrl" } } [5]=> array(1) { ["range"]=> array(1) { ["amount"]=> array(1) { ["gt"]=> int(0) } } } [6]=> array(1) { ["term"]=> array(1) { ["appExclusive"]=> int(0) } } } } } } } [5]=> array(1) { ["filtered"]=> array(2) { ["query"]=> array(1) { ["match_all"]=> object(stdClass)#2338 (0) { } } ["filter"]=> array(1) { ["bool"]=> array(1) { ["must"]=> array(3) { [0]=> array(1) { ["term"]=> array(1) { ["_type"]=> string(4) "blog" } } [1]=> array(1) { ["term"]=> array(1) { ["status"]=> bool(true) } } [2]=> array(1) { ["range"]=> array(1) { ["publicationDate"]=> array(1) { ["lte"]=> string(19) "2025-07-01 09:24:11" } } } } } } } } [6]=> array(1) { ["filtered"]=> array(1) { ["filter"]=> array(1) { ["bool"]=> array(2) { ["must"]=> array(2) { [0]=> array(1) { ["type"]=> array(1) { ["value"]=> string(8) "question" } } [1]=> array(1) { ["term"]=> array(1) { ["status"]=> bool(true) } } } ["must_not"]=> array(1) { [0]=> array(1) { ["terms"]=> array(1) { ["_id"]=> array(0) { } } } } } } } } } } } } } ["track_scores"]=> bool(false) ["sort"]=> array(2) { [0]=> array(1) { ["isPremium"]=> array(2) { ["order"]=> string(4) "desc" ["missing"]=> int(0) } } ["_geo_distance"]=> array(3) { ["geoLocation"]=> array(2) { ["lat"]=> string(9) "32.715738" ["lon"]=> string(12) "-117.1610838" } ["order"]=> string(3) "asc" ["unit"]=> string(2) "mi" } } } }