Re: index-time boost ... query

2009-11-20 Thread Lance Norskog
No, the reverse is true. Sorting is very very fast in Lucene. The first sort operation spends a lot of time making a data structure and then following sort calls use it. On Thu, Nov 19, 2009 at 1:52 PM, Anil Cherian cherian.anil2...@gmail.com wrote: Hi David, I just now tried a sorting on the

index-time boost ... query

2009-11-19 Thread Anil Cherian
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

Fwd: index-time boost ... query

2009-11-19 Thread Anil Cherian
proper sorted results. Could anyone suggest whether I am doing something wrong. thanks and rgds, Anil. -- Forwarded message -- From: Anil Cherian cherian.anil2...@gmail.com Date: Thu, Nov 19, 2009 at 12:25 PM Subject: index-time boost ... query To: solr-user

Re: index-time boost ... query

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

Re: index-time boost ... query

2009-11-19 Thread Anil Cherian
Hi David, Thank you for the mail. It seems you are right.sorting might solve the issue as it is not giving any special weightage to any record other than its approval_dt is the latest one.. I think i am convinced for now. I am eagerly waiting for your book around thanks giving so taht i can

Re: index-time boost ... query

2009-11-19 Thread Anil Cherian
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