Re: Sorting by calculated custom score at search time

2006-01-24 Thread Chris Hostetter
: It's not in subversion yet though ;-) : : You have to look here: : http://issues.apache.org/jira/browse/LUCENE-446 Whoops ... sorry about that. I forget how far out on the bleeding edge the code I'm using is sometimes :) It definitely works right now, so you should give it a shot -- but you m

Re: Sorting by calculated custom score at search time

2006-01-24 Thread Yonik Seeley
ased on document values for a > particular field (or the relative ordinal positions in the FieldCache for > that field) > > > : Date: Tue, 24 Jan 2006 17:42:06 - > : From: Nick Vincent <[EMAIL PROTECTED]> > : Reply-To: java-user@lucene.apache.org > : To: java-user@lucen

Re: Sorting by calculated custom score at search time

2006-01-24 Thread Chris Hostetter
2:06 - : From: Nick Vincent <[EMAIL PROTECTED]> : Reply-To: java-user@lucene.apache.org : To: java-user@lucene.apache.org : Subject: Sorting by calculated custom score at search time : : Hi, : : I am trying to find a way to create scores with a custom formula based : on the initial score from

Re: Sorting by calculated custom score at search time

2006-01-24 Thread gekkokid
how does TSS boost by date? give a small boost increase like 0.1 or 0.2 x (ArticlePublishDate - IndexCreationDate)? - Original Message - From: "Nick Vincent" <[EMAIL PROTECTED]> To: Sent: Tuesday, January 24, 2006 5:42 PM Subject: Sorting by calculated custom score a

RE: Sorting by calculated custom score at search time

2006-01-24 Thread Tim.Wright
Nick Vincent [mailto:[EMAIL PROTECTED] wrote: [snip] > From an earlier thread discussing a calculated score based on the hit > score and the age of document I gather that TSS regenerate their indexes > to alter the document boost based on date. I need to be able to sort by > either relevance or

Sorting by calculated custom score at search time

2006-01-24 Thread Nick Vincent
Hi, I am trying to find a way to create scores with a custom formula based on the initial score from Lucene and field values from each document, e.g. for each document: finalScore = searchScore * (popularity) * (userRating) The customer requires this functionality as I have to replace an existi