Op Saturday 17 May 2008 00:04:31 schreef Chris Hostetter:
> : Is it possible to compute a theoretical maximum score for a given
> : query if constraints are placed on 'tf' and 'lengthNorm'? If so,
> : scores could be compared to a 'perfect score' (a feature request
> : from our customers)
 
I think a theoretical maximum score is only going to work when that
maximum applies to queries of any structure. So, start with the
simplest query, associate it with a theoretical maximum score, and
then for each possible combination of subqueries ((weighted)
and/or/phrase/span) make sure that the subscore values are
combined into another value that has the same theoretical
maximum.

Have a look here to start:
https://issues.apache.org/jira/browse/LUCENE-293

Regards,
Paul Elschot

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to