I tried to do this:

#1. search phrases in title^3 & text^1
#2. based on result #1 add boost for field closed:0^2
#3. based on result in #2 boost based on last_modified
 
and i tried like these:

/solr/select
?q={!boost b=$dateboost v=$qq defType=dismax}
&dateboost=recip(ms(NOW/HOUR,modified),86400000,2,1)
&qq=video
&qf=title^3+text
&pf=title^3+text
&bq=closed:0^2
&debugQuery=true

then i tried differently by changing solrconfig like these:

<str name="qf">title^3 text</str>
<str name="pf">title^3 text</str>
<str name="bf">recip(ms(NOW/HOUR,modified),86400000,2,1)</str>
<str name="bq">closed:0^2</str>

with query:
/solr/select
?q=video
&debugQuery=true

both seems give wrong results, anyone have an idea about doing those tasks?

thanks in advanced



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Solr-Dismax-bf-bq-vs-q-boost-tp3003028p3003028.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to