Plucene is nearly finished, and is busy being unit-tested to death. In the
process of doing this, we found that some of our phrase queries were returning
more results than we expected. This is because when PhrasePositions falls off
the end of the iterator, it returns a sentinel value:
if
I don't think this value actually find its way into the results. Rather
it causes PhraseScorer.score() to exit, as this value is always greater
than the value of 'end' passed into that method.
Doug
Simon Cozens wrote:
Plucene is nearly finished, and is busy being unit-tested to death. In the
Doug Cutting:
I don't think this value actually find its way into the results. Rather
it causes PhraseScorer.score() to exit, as this value is always greater
than the value of 'end' passed into that method.
Yep, I screwed up; sorry. Working nicely now.
--
In related wibbling, I can see an