It would be useful to be able to specify ranges, like so:
&boost=if(or(termfreq(type, 'cool'), termfreq(type, 'hot')), max(recip(ms(NOW/DAY, ds_field_last_modified), 3.16e-11,{1,20},{$1}), 0.2), 1.0)
Instead of testing the pair 5,5, we could 1-20, and they would still be paired.
Or we could do:
&boost=if(or(termfreq(type, 'cool'), termfreq(type, 'hot')), max(recip(ms(NOW/DAY, ds_field_last_modified), 3.16e-11,{1,20},{1,20}), 0.2), 1.0)
For queries like:
&boost=if(or(termfreq(type, 'cool'), termfreq(type, 'hot')), max(recip(ms(NOW/DAY, ds_field_last_modified), 3.16e-11,5,5), 0.2), 1.0)
It would be useful to be able to specify ranges, like so:
&boost=if(or(termfreq(type, 'cool'), termfreq(type, 'hot')), max(recip(ms(NOW/DAY, ds_field_last_modified), 3.16e-11,{1,20},{$1}), 0.2), 1.0)
Instead of testing the pair 5,5, we could 1-20, and they would still be paired.
Or we could do:
&boost=if(or(termfreq(type, 'cool'), termfreq(type, 'hot')), max(recip(ms(NOW/DAY, ds_field_last_modified), 3.16e-11,{1,20},{1,20}), 0.2), 1.0)
where they wouldn't be paired...