[
https://issues.apache.org/jira/browse/LUCENE-5222?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Muir resolved LUCENE-5222.
---------------------------------
Resolution: Fixed
Fix Version/s: 4.6
5.0
Thanks Ryan and Mike, I opened LUCENE-5226 to make this not always return true.
I think we can do it relatively cleanly, I will try. (I just wanted to fix the
bug first).
> TestExpressionSorts fails sometimes when using expression returning score
> -------------------------------------------------------------------------
>
> Key: LUCENE-5222
> URL: https://issues.apache.org/jira/browse/LUCENE-5222
> Project: Lucene - Core
> Issue Type: Bug
> Reporter: Ryan Ernst
> Fix For: 5.0, 4.6
>
> Attachments: LUCENE-5222.patch
>
>
> Jenkins picked this up. Repeat with:
> {code}
> ant test -Dtestcase=TestExpressionSorts -Dtests.method=testQueries
> -Dtests.seed=115AD00ED89D9F7B -Dtests.multiplier=3 -Dtests.slow=true
> -Dtests.locale=no_NO -Dtests.timezone=America/Nassau
> -Dtests.file.encoding=US-ASCII
> {code}
> It appears to have to do with scoring, as removing the score sort from the
> original sorts causes the tests to pass. If you remove the possible
> discrepancy between doDocScores and docMaxScore params to searcher.search,
> then the test gets farther before failing.
--
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]