Hi, currently a working solution is like: 1. First api call - take min, max value of numeric fields say price field 2. In another api call to solr use it like bq="div(sub(price,min_price),sub(max_price,sum(1,min_price)))^0.05"
above is a working solution, but its two api based. Can we use the min/max values in boost using function queries ? I tried with local param reference ex. min_price=min(price)&max_price=max(price)&bq="div(sub(price,$min_price),sub($max_price,sum(1,$min_price)))^0.05" This is not giving an error, but min_price is the same as price; so sub(price,min_price) is zero and boost finally applied is zero. Is there any option to achieve this?