: We'd like to restrict older modified documents with a step function, rather

: bf="map(map(modified,0,0,today),0,12monthago,0.2)
: map(map(modified,0,0,today),12monthago,6monthago,0.3)
: map(map(modified,0,0,today),6monthsago,today,1)"
: 
: is this inefficient?

For something like this, i would just use bq instead of bf ... i don't 
know that it's more efficient per se, but i'm guessing it would be, 
and it's certinaly easier to understand (to me anyway)...

bq=modified:[NOW/DAY-6MONTHS TO *]^1 modified:[NOW/DAY-1YEAR TO NOW/DAY-6MONTHS 
TO *]^0.3 modified:[* TO NOW/DAY-1YEAR]^0.3

(the score values may not work out to exactly the same because of hte way 
FUnctionQuery works, but that's just a matter of twiddling the boosts 
untill you get what you want)



-Hoss

Reply via email to