lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doron Cohen <DOR...@il.ibm.com>
Subject Re: scorer.skipTo() contr
Date Wed, 06 Jun 2007 23:45:17 GMT
> The method states 'greater than OR EQUAL TO' so
> your d1 != d2 test is  invalid.
>
> It should be assert (d2>=d1)

Yes, the '>=' is regarding to the skip target, I am okay with this.

But "beyond the current" regards to where the scorer is currently
located, ie what doc() would have returned just before the second
call to skipTo()...


---------------------------------------------------------------------
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