lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xiong <xiong.xu...@gmail.com>
Subject Re: How to customize scoring using user feedback?
Date Fri, 16 Mar 2007 01:50:50 GMT
daniel rosher <daniel.rosher <at> hotonline.com> writes:

> 
> Hi,
> 
> This can be achieved by implementing your own implementation of the
> SortComparitorSource interface.
> 
> Section 6.1 of Lucene in Action will help you here.
> 
> We currently use this method to alter the ranking of documents depending
> on the age of the document by multiplying the current score by a cached
> function f(D) ~ age_of_document_D, so that final score = doc.score*f(D);
> 
> Regards,
> Dan
> 
Hi Dan,

By implementing SortComparitorSource, did you recount all the hits scores?
If the returned documents number is big, will it be a performance issue?

Regards,
Xiong




---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message