lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Grant Ingersoll <gsing...@syr.edu>
Subject Re: Classifieds rotation - weighting Lucene results by previous show frequency?
Date Tue, 08 Aug 2006 02:36:52 GMT
You could also write a custom sorter that does this, I think.

-Grant

On Aug 7, 2006, at 10:24 PM, Doron Cohen wrote:

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

--------------------------
Grant Ingersoll
Sr. Software Engineer
Center for Natural Language Processing
Syracuse University
335 Hinds Hall
Syracuse, NY 13244
http://www.cnlp.org

Voice: 315-443-5484
Skype: grant_ingersoll
Fax: 315-443-6886




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