Using index time boosting isn't really a substitute for sorting.  It will be 
faster (I'm pretty sure) but isn't the same thing.  The index time boost is 
going to influence the score but not totally become the score... which means 
that in all likelihood there will be documents in search results that are out 
of order with respect to the approval_dt.  You might use high boost values as a 
compromise (ex: 100,200,300,...) but that wouldn't feel right to me in any case.

If your sorting result performance isn't fast enough then I'd discuss it here 
with everyone.  You'll want to put fields you sort on (like approval_dt) in a 
warming query so that when the search needs to sort on this field, the sort 
information is already cached.  This cache is invalidated when you modify the 
index, by the way.

~ David Smiley
Author: http://www.packtpub.com/solr-1-4-enterprise-search-server/

On Nov 20, 2009, at 11:34 AM, Anil Cherian wrote:

> Hi,
> 
> I have a requirement to get results in the order of latest date of a field
> called approval_dt. ie results having the latest approval date should appear
> first in the SOLR results xml. A sorting "desc" on approval_dt gave me this.
> 
> Can index-time boost be of use here to improve performance. Could you please
> help me with an answer.
> 
> Thank You.
> Anil.

Reply via email to