2004 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
: 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
ECTED]
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
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 individual
Documents, thus giving some more and some less 'weight', which will
have an effect on the final score.
Otis
--- Gu
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 for