Anil, without delving into why your boosting isn't working as you expect, why don't you simply sort? Based on a message you sent to me directly (excerpted bellow), it seems you want sorting, not boosting. You could subsequently sort by score after approval_dt.
~ David Smiley Author: http://www.packtpub.com/solr-1-4-enterprise-search-server/ > > My ultimate aim is to always bring up records in the result having latest > approval_dt to appear first using index-time boosting in SOLR. Could you pls > help me with some directions. On Nov 19, 2009, at 12:25 PM, Anil Cherian wrote: > Hi, > > I am working on index-time boosting. > I have a field named approval_dt. I have created that <field> in my SOLR xml > to be uploaded, by sorting my query in ascending order of approval_dt and > then increasing the boost for this field by 0.1 as i encounter new records > from database. In my schema.xml that field has omitNorms=false (<field > name="approval_dt" type="date" indexed="true" stored="true" > omitNorms="false"/>) > > Suppose I am searching for a keyword say *India*. I want my results to come > in such a way that the ones with latest/ recent approval_dt should come > first. > > I achieved this using query-time boosting bf parameter. I am not trying it > using the index-time approach. > Any help is appreciated. > > Thank you. > Anil