If we want to find all cars over $10,000 and also calculate the average price for those cars, we can use a constant_score query and its filter clause:$10,000 이상의 모든 자동차와 해당 자동차들의 평균가를 계산하려면, constant_score query와 filter절을 사용할 수 있다.GET /cars/transactions/_search { "size" : 0, "query" : { "constant_score": { "filter": { "range": { "price": { "gte": 10000 } } } } }, "aggs" : { "single_avg_price": {..