New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade to lucene r1662607 #9915
Conversation
This was an existing bug uncovered by https://issues.apache.org/jira/browse/LUCENE-6262. ParentScoreCollector did not tell the searcher that it needs scores. |
The percolator failures were also due to needsScores. Things should be good now. |
LGTM |
thank you adrien! I can look into the mock filesystem issues. |
I ran tests again after my commit, now there is only one failure: 1> REPRODUCE WITH : mvn clean test -Dtests.seed=28DC6D0EB0CE35C0 -Dtests.class=org.elasticsearch.search.innerhits.InnerHitsTests -Dtests.method="testParentChildMultipleLayers" -Des.logger.level=INFO -Dtests.heap.size=512m -Dtests.locale=mt -Dtests.timezone=Africa/Libreville -Dtests.processors=8 |
Now tests are passing. |
LGTM |
Related to this commit: elastic/elasticsearch#9915 Closes #30.
this is not ready: there are test failures!
one category looks like this, even though we havent integrated mockfilesystems, it looks like some tests are using lucenetestcase so they get them anyway. when you see failures with filenames like 'extraNNN' then you know its the new ExtrasFS adding extra files to the directory. if we really need, SuppressFileSystems annotation can be used for these tests, but it would be good to look further:
example:
2> NOTE: reproduce with: ant test -Dtestcase=StoreTest -Dtests.method=testMixedChecksums -Dtests.seed=3E98A98307A8A08F -Dtests.locale=en_GB -Dtests.timezone=America/Kralendijk -Dtests.asserts=true -Dtests.file.encoding=UTF-8
FAILURE 0.02s J1 | StoreTest.testMixedChecksums <<<
another category of fails is wrong scores for parent/child. The api changes for this upgrade were trivial so I think something might be wrong here. @jpountz any ideas?
example:
2> NOTE: reproduce with: ant test -Dtestcase=ChildrenQueryTests -Dtests.method=testRandom -Dtests.seed=3E98A98307A8A08F -Dtests.locale=es_DO -Dtests.timezone=EET -Dtests.asserts=true -Dtests.file.encoding=UTF-8
FAILURE 0.02s J0 | ChildrenQueryTests.testRandom <<<
finally percolator looks like it has issues, stuff like this:
FAILURE 0.49s J2 | PercolatorTests.testPercolateSortingWithNoSize <<<