I've been trying to work out how SOLR thinks about dates internally so I can boost newer documents. My post_date field is stored as seconds since the epoch, so I think the following is probably what I want. I used 3.17 instead of the 3.16 in all the examples because my own math suggests that's a more accurate number:

recip(ms(NOW,product(post_date,1000)),3.17e-11,1,1)

Reading the solr 1.4 book, I am not very clear on how to configure qf, bf, and pf in the dismax requestHandler, specifically in regards to using the function above in conjunction with the field-based boosts that I want to try. Is there a place I can go to find some better examples, and find out what all the other fields in the example config do, such as mm?

Thanks,
Shawn

Reply via email to