We've had a couple of people ask for scores as percentages. If you really
want this, it should be just barely possible, though it would take some
coding. You calculate the maximum possible score, then report scores
normalized against that.

1. Use a TF scoring formula that has a ceiling, like hyperbolicTf, and
assume the maximum TF score for each term.
2. If you are using length normalization, assume the optimum length.
3. Gather the IDFs for all the terms.
4. Choose the field with the highest query time boost, if you are using
dismax.
5. Finally, calculate the maximum possible relevance score.

I'm sure I've left something out, but that is the general idea.

Be prepared to have relevant documents with distressingly low percentage
scores, like 5%.

wunder

Reply via email to