[prev in list] [next in list] [prev in thread] [next in thread]
List: lucene-user
Subject: Re: Providing my own scoring.
From: "Chong K. Tsang" <ahki () u ! washington ! edu>
Date: 2003-08-16 5:53:08
[Download RAW message or body]
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
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic