Skip to main content.
home | support | download

Back to List Archive

Re: Swish-e Ranking for Search within XML files

From: Peter Karman <karman(at)not-real.cray.com>
Date: Mon Sep 13 2004 - 19:52:03 GMT
Bill Moseley wrote on 9/13/04 10:54 AM:

> On Mon, Sep 13, 2004 at 08:36:55AM -0700, Tomek Noi?ski wrote:
> 
> 
>>I think something might not work well with MetaNamesRank.
> 
> 
> Can I recommend that you get into rank.c and add a few printf()
> statements?  My guess is that will be the fastest way to see why
> things are not working like you expect.


I think you can also just uncomment the DEBUG_RANK variable in the 
rank.h file and recompile. That should print out all kinds of info, 
including the meta_bias, etc.


> 
> Print out what "meta_bias" is, and how it's changing the
> word_score.  rank.c is scaling the raw word_socre after applying the
> rank_bias, which is basically taking the log() of the raw score.  It
> might be that the bias is not significant enough to have an effect.
> 

-- 
Peter Karman  651-605-9009  karman@cray.com
Received on Mon Sep 13 12:52:28 2004