[ 
https://issues.apache.org/jira/browse/LUCENE-912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12502048
 ] 

Doron Cohen commented on LUCENE-912:
------------------------------------

> dismax score calculation isn't incremental... it's all done during the call 
> to score()). 
> Is there an issue I'm not thinking of? 

I was wondering why QueryUtils.checkSkipTo() did not expose that. But this is 
because that check skips doc by doc, always to docs found by the tested query. 

Enhancing that test reveals that for some scorers, two consecutive calls to 
score() return different scores (no next() or skipTo() calls in between).
This seems like a bug.

> DisjunctionMaxScorer.skipTo has bug that keeps it from skipping
> ---------------------------------------------------------------
>
>                 Key: LUCENE-912
>                 URL: https://issues.apache.org/jira/browse/LUCENE-912
>             Project: Lucene - Java
>          Issue Type: Bug
>    Affects Versions: 2.0.0, 2.1
>            Reporter: Hoss Man
>             Fix For: 2.2
>
>         Attachments: dismax_skipto.patch
>
>
> as reported on the mailing list, DisjunctionMaxScorer.skipTo is broken if 
> called before next in some situations...
> http://www.nabble.com/Potential-issue-with-DisjunctionMaxScorer-tf3846366.html#a10894987

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to