Yes. JUnit would also be good, if you have it.
if you want to write some there is a lot of good helper code already out
there for making sure the hits and scores produced by a query match the
explanations produced by that same query...
[EMAIL PROTECTED]:~/svn/lucene-clean$ ls
src/test/or
On Aug 30, 2007, at 3:40 PM, Peter Keegan wrote:
There are a couple of minor bugs in BoostingTermQuery.explain().
1. The computation of average payload score produces NaN if no
payloads were
found. It should probably be:
float avgPayloadScore = super.score() * (payloadsSeen > 0 ?
(payload