Re: The values which compute scores. - Part II

2007-06-03 Thread Chris Hostetter
: I guess you could hack a "all norms are 1" behavior by : writing something similar to OneNormsReader in : org.apache.lucene.demo.SearchFiles. Wow ... that's quite the little hidden gem in the Demo. The gist of the impl is pretty much exactly what you need, but SegmentReader has a static utilit

Re: The values which compute scores. - Part II

2007-06-01 Thread Doron Cohen
Hi Walt, AFAIK there is no flag guiding scorers to "ignore norms". I guess you could hack a "all norms are 1" behavior by writing something similar to OneNormsReader in org.apache.lucene.demo.SearchFiles. Doron Walt Stoneburner wrote on 01/06/2007 13:45:26: > I've managed to build my own Simila

The values which compute scores. - Part II

2007-06-01 Thread Walt Stoneburner
I've managed to build my own Similarity class, plug it in, and use Explain to convince myself that I am, indeed, getting the correct weightings that I desire. My test case documents are yielding precisely the intermediate values needed for alternate scoring. There's just one thing... When I do