[
https://issues.apache.org/jira/browse/LUCENE-5501?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Adrien Grand updated LUCENE-5501:
---------------------------------
Attachment: LUCENE-5501.patch
Here is a simple patch I've been playing with:
- AssertingWeight.scoresDocsOutOfOrder randomly returns true in order to
trigger the use of our top docs collectors that tie-break on doc id,
- AssertingScorer randomly scores in random order when the collector says it
supports it
It found a bug in the grouping collector whose acceptDocsOutOfOrder method
returns true although the collect method has a comment that explicitely says
that the comparison works because doc IDs come in order.
> Out-of-order collection testing
> -------------------------------
>
> Key: LUCENE-5501
> URL: https://issues.apache.org/jira/browse/LUCENE-5501
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Adrien Grand
> Assignee: Adrien Grand
> Attachments: LUCENE-5501.patch
>
>
> Collectors have the ability to declare whether or not they support
> out-of-order collection, but since most scorers score in order this is not
> well tested.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]