lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Busch <busch...@gmail.com>
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: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message