[
https://issues.apache.org/jira/browse/LUCENE-4903?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13622474#comment-13622474
]
Michael McCandless commented on LUCENE-4903:
--------------------------------------------
bq. How can I check for that?
Well, hopefully we have an AssertingWeight, and then when its scorer() method
is returned, it calls .scoresDocsOOO on the wrapped weight, and if that returns
true, then the returned AssertingScorer should ensure every returned docID is >
the previous one, I think?
> Add AssertingScorer
> -------------------
>
> Key: LUCENE-4903
> URL: https://issues.apache.org/jira/browse/LUCENE-4903
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Adrien Grand
> Assignee: Adrien Grand
> Priority: Minor
>
> I think we would benefit from having an AssertingScorer that would assert
> that scorers are advanced correctly, return valid scores (eg. not NaN), ...
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]