We put here

<requestHandler name="whatever" class="solr.StandardRequestHandler"
default="true">
<lst name="defaults">
<str name="defType">dismax</str>
<str name="qf">...</str>
<str name="pf">...</str>
<str name="bf">recip(ms(NOW,sear_dataupdate),3.16e-11,1,1)</str>
...


2011/9/1 Craig Stadler <cstadle...@hotmail.com>

> Regarding :
> http://wiki.apache.org/solr/**FunctionQuery#Date_Boosting<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=<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
>
>
>


-- 

*Alexei Martchenko* | *CEO* | Superdownloads
ale...@superdownloads.com.br | ale...@martchenko.com.br | (11)
5083.1018/5080.3535/5080.3533

Reply via email to