[
https://issues.apache.org/jira/browse/LUCENE-7132?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15225118#comment-15225118
]
Uwe Schindler commented on LUCENE-7132:
---------------------------------------
With LUCENE-7174 committed (update of randomizedtesting framework), your test
produces the following failure:
{noformat}
[junit4] 2> NOTE: test params are: codec=Asserting(Lucene60),
sim=RandomSimilarity(queryNorm=false,coord=no): {field=DFR I(n)B2, alt=DFR
I(ne)B1}, locale=sr-Latn, timezone=America/St_Vincent
[junit4] 2> NOTE: Windows 7 6.1 amd64/Oracle Corporation 1.8.0_72
(64-bit)/cpus=8,threads=1,free=166881504,total=261095424
[junit4] 2> NOTE: All tests run in this JVM: [TestSimpleExplanations]
[junit4] 2> NOTE: reproduce with: ant test
-Dtestcase=TestSimpleExplanations -Dtests.seed=74B719CE50C8168A
-Dtests.slow=true -Dtests.locale=sr-Latn -Dtests.timezone=America/St_Vincent
-Dtests.asserts=true -Dtests.file.encoding=UTF-8
[junit4] ERROR 0.00s | TestSimpleExplanations (suite) <<<
[junit4] > Throwable #1: junit.framework.AssertionFailedError: Clean up
static fields (in @AfterClass?) and null them, your test still has references
to classes of which the sizes cannot be measured due to security restrictions
or Java 9 module encapsulation:
[junit4] > - protected static org.apache.lucene.index.RandomIndexWriter
org.apache.lucene.search.BaseExplanationTestCase.writer
[junit4] > at
__randomizedtesting.SeedInfo.seed([74B719CE50C8168A]:0)
[junit4] > at java.lang.Thread.run(Thread.java:745)
[junit4] > Caused by: java.security.AccessControlException: access denied
("java.lang.RuntimePermission" "accessClassInPackage.sun.nio.fs")
[junit4] > at
java.security.AccessControlContext.checkPermission(AccessControlContext.java:472)
[junit4] > at
java.security.AccessController.checkPermission(AccessController.java:884)
[junit4] > at
java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
[junit4] > at
java.lang.SecurityManager.checkPackageAccess(SecurityManager.java:1564)
[junit4] > at java.lang.Class.checkPackageAccess(Class.java:2372)
[junit4] > at java.lang.Class.checkMemberAccess(Class.java:2351)
[junit4] > at java.lang.Class.getDeclaredFields(Class.java:1915)
[junit4] > at java.security.AccessController.doPrivileged(Native
Method)
[junit4] > ... 10 more
[junit4] Completed [1/1 (1!)] in 2.90s, 69 tests, 1 failure <<< FAILURES!
{noformat}
> BooleanQuery scores can be diff for same docs+sim when using coord (disagree
> with Explanation which doesn't change)
> -------------------------------------------------------------------------------------------------------------------
>
> Key: LUCENE-7132
> URL: https://issues.apache.org/jira/browse/LUCENE-7132
> Project: Lucene - Core
> Issue Type: Bug
> Components: core/search
> Affects Versions: 5.5
> Reporter: Ahmet Arslan
> Assignee: Steve Rowe
> Attachments: LUCENE-7132.patch, LUCENE-7132.patch, SOLR-8884.patch,
> SOLR-8884.patch, debug.xml
>
>
> Some of the folks
> [reported|http://find.searchhub.org/document/80666f5c3b86ddda] that sometimes
> explain's score can be different than the score requested by fields
> parameter. Interestingly, Explain's scores would create a different ranking
> than the original result list. This is something users experience, but it
> cannot be re-produced deterministically.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]