lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doron Cohen (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LUCENE-912) DisjunctionMaxScorer.skipTo has bug that keeps it from skipping
Date Wed, 06 Jun 2007 21:21:25 GMT

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

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

This would recompute, but correctly. 
If this fix is just for sanity, ie main search methods really call score() just once, then
I guess this is good enough.
I was thinking more on not recomputing score if it was already computed (for current doc).
(That would require to also maintain the last score returned.)


> 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: checkTwoCallsToScore.patch, checkTwoCallsToScore.patch, dismax_skipto.patch,
lucene-912.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: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message