RE: Sorting based on calculations at search time

2004-12-13 Thread Gurukeerthi Gurunathan
10:21 PM To: Lucene Users List Subject: RE: Sorting based on calculations at search time : I believe you are talking about the boost factor for fields or documents : while searching. That does not apply in my case - maybe I am missing a : point here. : The weight field I was talking about is only

Sorting based on calculations at search time

2004-12-10 Thread Gurukeerthi Gurunathan
Hello, I'd like some suggestions on the following scenario. Say I have an index with a stored, indexed field called 'weight'(essentially an int stored as string). I'd like to sort in descending order of final weight, the search results by performing a calculation involving the lucene score

RE: Sorting based on calculations at search time

2004-12-10 Thread Gurukeerthi Gurunathan
] Sent: Friday, December 10, 2004 3:13 PM To: Lucene Users List Subject: Re: Sorting based on calculations at search time Guru (I thought my first name was OK until now), Have you tried using boosts for that? You can boost individual Document Fields when indexing, and/or you can boost

RE: Sorting based on calculations at search time

2004-12-10 Thread Chris Hostetter
: I believe you are talking about the boost factor for fields or documents : while searching. That does not apply in my case - maybe I am missing a : point here. : The weight field I was talking about is only for the calculation Otis is suggesting that you set the boost of the document to be your