lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Busch <>
Subject Re: scorer.skipTo() contr
Date Wed, 06 Jun 2007 23:49:33 GMT
robert engels wrote:
> The method states 'greater than OR EQUAL TO' so your d1 != d2 test is 
> invalid.
> It should be assert (d2>=d1)
Well, but the javadoc says BEYOND the current.

But I think it should be the desired behavior for skipTo() to not skip 
at all
if curDoc==target already? Which means we should clearify the javadocs. 
But it
also means that we have to check if all scorers perform correctly in this
regard then.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message