Hi All, We'd like to restrict older modified documents with a step function, rather than the suggested method:
*recip(rord(creationDate),1,1000,1000). I'm wondering whether the following might do it, and if anyone else has had to solve this before? 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? basically : if older than 12months, multiply by 0.2 **if 6-12months old, multiply by 0.3 all other cases **multiply by 1 today,**12monthago,**6monthago are epoch secs since 1/1/1970 (changes for each query)** Cheers, Dan ** *