Re: comparing index-time boost and sort in the case of a date field

2009-12-07 Thread Chris Hostetter
: : I have a requirement where I need to display records with more recent values : for approval_dt to come first when a query is made. I thought of approaching : this in 2 different ways:- ... : 2. INDEX-TIME boosting. : I sorted the query from databse itself in asc order of approval_dt

Re: comparing index-time boost and sort in the case of a date field

2009-11-29 Thread Anil Cherian
Hi Eric, David, Thank you for the mail. I have a requirement where I need to display records with more recent values for approval_dt to come first when a query is made. I thought of approaching this in 2 different ways:- 1. SORTING /select/?q=water%0D%0A&version=2.2&start=0&rows=10&indent=on&fl=a

Re: comparing index-time boost and sort in the case of a date field

2009-11-21 Thread Erick Erickson
First, could you state the reason you aren't satisfied? You imply that your speed isn't what you want, so some details would help. How big is your index? How many documents? What query is slow? Is your first query slow or all queries where you sort on date? This later is, as David says, may be cur

Re: comparing index-time boost and sort in the case of a date field

2009-11-20 Thread Smiley, David W.
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 t

comparing index-time boost and sort in the case of a date field

2009-11-20 Thread Anil Cherian
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. Coul