[
https://issues.apache.org/jira/browse/LUCENE-8427?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16555405#comment-16555405
]
ASF subversion and git services commented on LUCENE-8427:
---------------------------------------------------------
Commit 65f6e6c1501b3fd075ca586dd9bd49850514d234 in lucene-solr's branch
refs/heads/master from [~jpountz]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=65f6e6c ]
LUCENE-8427: Fix bug in BlockMaxConjunctionScorer.
In case a scorer would return information about a block that doesn't contain
any matches, BlockMaxConjunctionScorer could use invalid score bounds. This
would never occur when building a conjunction of term queries but possibly when
building a conjunction of phrase queries for instance.
> TestBlockMaxConjunction.testRandom() reproducing failure
> --------------------------------------------------------
>
> Key: LUCENE-8427
> URL: https://issues.apache.org/jira/browse/LUCENE-8427
> Project: Lucene - Core
> Issue Type: Bug
> Components: core/query/scoring
> Affects Versions: master (8.0)
> Reporter: Steve Rowe
> Priority: Major
>
> From [https://builds.apache.org/job/Lucene-Solr-SmokeRelease-master/1076/]:
> {noformat}
> Checking out Revision a254e7d7bcd11c2163dfbb7b3d4a3986aee7867b
> (refs/remotes/origin/master)
> [...]
> [smoker] [junit4] Suite:
> org.apache.lucene.search.TestBlockMaxConjunction
> [smoker] [junit4] 2> NOTE: reproduce with: ant test
> -Dtestcase=TestBlockMaxConjunction -Dtests.method=testRandom
> -Dtests.seed=C8F831B07E6EEED8 -Dtests.multiplier=2 -Dtests.locale=bg
> -Dtests.timezone=Pacific/Auckland -Dtests.asserts=true
> -Dtests.file.encoding=ISO-8859-1
> [smoker] [junit4] FAILURE 2.17s J2 | TestBlockMaxConjunction.testRandom
> <<<
> [smoker] [junit4] > Throwable #1:
> junit.framework.AssertionFailedError
> [smoker] [junit4] > at
> __randomizedtesting.SeedInfo.seed([C8F831B07E6EEED8:BAB414BFCF0E58AB]:0)
> [smoker] [junit4] > at junit.framework.Assert.fail(Assert.java:48)
> [smoker] [junit4] > at
> junit.framework.Assert.assertTrue(Assert.java:20)
> [smoker] [junit4] > at
> junit.framework.Assert.assertTrue(Assert.java:27)
> [smoker] [junit4] > at
> org.apache.lucene.search.CheckHits.doCheckMaxScores(CheckHits.java:617)
> [smoker] [junit4] > at
> org.apache.lucene.search.CheckHits.checkTopScores(CheckHits.java:582)
> [smoker] [junit4] > at
> org.apache.lucene.search.TestBlockMaxConjunction.testRandom(TestBlockMaxConjunction.java:69)
> [smoker] [junit4] > at java.lang.Thread.run(Thread.java:748)
> [smoker] [junit4] 2> NOTE: test params are:
> codec=Asserting(Lucene70): {foo=PostingsFormat(name=Direct)}, docValues:{},
> maxPointsInLeafNode=1084, maxMBSortInHeap=6.8039593085931545,
> sim=Asserting(org.apache.lucene.search.similarities.AssertingSimilarity@59e53bf7),
> locale=bg, timezone=Pacific/Auckland
> [smoker] [junit4] 2> NOTE: Linux 3.13.0-88-generic amd64/Oracle
> Corporation 1.8.0_172 (64-bit)/cpus=4,threads=1,free=108247552,total=406323200
> {noformat}
> {{git bisect}} says:
> {noformat}
> 85c00e77efdf53f30da6eaffd38c2b016a7805bc is the first bad commit
> commit 85c00e77efdf53f30da6eaffd38c2b016a7805bc
> Author: Dawid Weiss <[email protected]>
> Date: Tue May 8 10:32:11 2018 +0200
> LUCENE-8267: removed references to memory codecs.
> {noformat}
> but that ^^ probably just means that the random seed stops working past that
> commit.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]