lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley (JIRA)" <>
Subject [jira] Commented: (LUCENE-696) Scorer.skipTo() doesn't always work if called before next()
Date Tue, 24 Oct 2006 20:46:04 GMT
    [ ] 
Yonik Seeley commented on LUCENE-696:

It would also simplify some scorers if doc() wasn't undefined before next() or skipTo() was
called, but instead -1.
This undefined nature of doc() often requires more state to be kept around about the scorers.
Things like TermScorer would just need a change from "int doc" to "int doc=-1"

Is there any scorer that this would impose a burden or cost on?

> Scorer.skipTo() doesn't always work if called before next()
> -----------------------------------------------------------
>                 Key: LUCENE-696
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Bug
>    Affects Versions: 2.0.0
>            Reporter: Yonik Seeley
> skipTo() doesn't work for all scorers if called before next().

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


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

View raw message