added search by product and aggregation type