lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doron Cohen <DOR...@il.ibm.com>
Subject Re: Classifieds rotation - weighting Lucene results by previous show frequency?
Date Tue, 08 Aug 2006 02:24:15 GMT
If the 'small classifieds index' is sufficiently small to be re-indexed
every night, I think this would be a simple solution - just set the
document boosts according to these statistics - i.e. boost more down docs
of classifieds that were shown more yesterday -
http://lucene.apache.org/java/docs/api/org/apache/lucene/document/Document.html#setBoost(float)

- Doron

"Chun Wei Ho" <cwho.work@gmail.com> wrote on 07/08/2006 19:01:05:

> We are starting to run a small index of classifieds alongside our main
> search items. The classifieds are also in a lucene index. We show
> classifieds that match the user's search criteria, which means we do a
> lucene search on that index and show the top few results. We also keep
> track of the number of times each classified is shown.
>
> However, we would like to start some form of classified rotation by
> weighting the results (weight down if that particular classified has
> been shown regularly in the past day, for example). The classified
> show statistics are stored in a database.
>
> Does anyone here have any experience doing this that they can share,
> or some idea as to how this can be best implemented with lucene?
> Thanks in advance :)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>


---------------------------------------------------------------------
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