Use HitCollector's collect method:
http://lucene.apache.org/java/docs/api/org/apache/lucene/search/HitCollector.html#collect(int,%20float)
Otis
--- [EMAIL PROTECTED] wrote:
> hi,
>
> i need to retrieve the raw scores (3.6, 2.8, etc) for a hit and not
> the normalized score (1.0, 0.8, etc). commenting out the normalizing
> code
> in Hits.java does what i want. is there a better way to do this?
>
> i'm wondering
> about adding a method to Similarity.java that looks like this:
> boolean
> normalizeRawScores() {
> return true;
> }
>
> is there a better way to
> do this?
>
> thanks.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]