Hi David, I just now tried a sorting on the results and I got the records with latest approval_dt first.
My question now is will index-time boosting method increase the response. ie will I be able to acheive the same thing i achieved using sorting much faster if i use index-time boosting. If you feel it helps could you please send me a sample query also. Thanks, Anil. On Thu, Nov 19, 2009 at 3:36 PM, Smiley, David W. <dsmi...@mitre.org> wrote: > 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 > >