Add &debugQuery=true to your query and look at the scores of the older vs.
newer docs compared to the boost. Maybe the boost needs to be increased.
-- Jack Krupansky
-----Original Message-----
From: Jonty Rhods
Sent: Monday, May 28, 2012 5:51 AM
To: solr-user@lucene.apache.org
Subject: boost date for fresh result query
Hi
I am facing problem to boost on date field.
I have following field in schema
<field name="release_date" type="date" indexed="true" stored="true"/>
solr version 3.4
I don't want to sort by date but want to give 50 to 60% boost those result
which have latest date...
following are the query :
http://localhost:8083/solr/movie/select/?defType=dismax&q=titanic&fq=title,tags&qf=tags
^2.0,title^1.0&mm=1&bf=recip(rord(release_date),1,1000,1000)
but it seems the result has no effect because still all old date results
are on top or I am unable to make query syntax. Is there anything missing
in query..
Please help me to make the function possible..
thanks
regards
Jonty