Regarding :
http://wiki.apache.org/solr/FunctionQuery#Date_Boosting

Specifcally : recip(ms(NOW/HOUR,mydatefield),3.16e-11,1,1).

I am using dismax, and I am very unsure on where to put this or call the function... for example in the fq= param??, in the q= param?

Sample query :
http://localhost:8983/solr/dismax/?q="george clooney"&mm=48%25&debugQuery=off&indent=on&start=&rows=10
If I want to factor in score/date (called creationdate)...

recip(ms(NOW/HOUR,creationdate),3.16e-11,1,1).

Help! and thanks so much for any examples or help..
-Craig


Reply via email to