lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-5222) TestExpressionSorts fails sometimes when using expression returning score
Date Wed, 18 Sep 2013 14:13:58 GMT

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

Robert Muir commented on LUCENE-5222:
-------------------------------------

Its not returning NaN, when you say 'doDocScores', indexsearcher confusingly fills a NaN.

I think we have way too many booleans, optimizations, and specializations here... 

I dont think anyone tests this paging with multiple sorts... ill commit something to TestSearchAfter
to try to break these collectors.
                
> 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
>
> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message