lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chong K. Tsang" <a...@u.washington.edu>
Subject Re: Providing my own scoring.
Date Sat, 16 Aug 2003 05:53:08 GMT
I have changed the scoring method of my own lucene-based system. I made use of the Similarity
class to create my own Similarity class. I also change some classes like TermQuery class in
order to implement my own scoring.

I hope my experience can help you, Kevin.

Chong-Ki "Ki"

On Mon, 11 Aug 2003, Kevin A. Burton wrote:

> I don't see this documented anywhere and before I start ripping apart 
> Lucene I wanted to find out if anyone has done this before.
> 
> I want to provide my own scoring of Lucene results based on my own score 
> algorithm.  It isn't JUST based on word frequency but also a lot of 
> other metrics (think PageRank).
> 
> The problem is that i think I am going to have to do this with my own 
> subqueries or integrating directly into IndexSearcher while doing my own 
> scoring.  Hits.doc() is expensive to say the least (I am assuming it 
> fetches all fields?) and it doesn't seem that there is a straight 
> forward way to add a visitor that will be called to develop my own 
> custom score.
> 
> Anyone have any advice here?
> 
> Kevin
> 
> -- 
> Help Support NewsMonster Development!  Purchase NewsMonster PRO!
> 
>     http://www.newsmonster.org/download-pro.html
> 
> Kevin A. Burton, Location - San Francisco, CA, Cell - 415.595.9965
>        AIM - sfburtonator,  Web - http://www.peerfear.org/
> GPG fingerprint: 4D20 40A0 C734 307E C7B4  DCAA 0303 3AC5 BD9D 7C4D
>   IRC - freenode.net #infoanarchy | #p2p-hackers | #newsmonster
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: lucene-user-help@jakarta.apache.org
> 
> 



Mime
View raw message