lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Craig Stadler <cstadle...@hotmail.com>
Subject Question on functions
Date Thu, 01 Sep 2011 22:15:43 GMT
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



Mime
View raw message