Skip to content
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

org.apache.lucene.search.TestKnnFloatVectorQuery.testDocAndScoreQueryBasics fails reproducibly #12181

Closed
cpoerschke opened this issue Mar 3, 2023 · 2 comments

Comments

@cpoerschke
Copy link
Contributor

Description

Please see e.g. https://lists.apache.org/thread/wz00z6gz18bbmkqtghkjtdqlokq3fx7p for full details.

Error Message:
java.lang.IllegalStateException: This DocAndScore query was created by a different reader

Stack Trace:
java.lang.IllegalStateException: This DocAndScore query was created by a different reader
at __randomizedtesting.SeedInfo.seed([D2B504855ECC5807:C35303238DC068AA]:0)
at org.apache.lucene.search.AbstractKnnVectorQuery$DocAndScoreQuery.createWeight(AbstractKnnVectorQuery.java:301)
at org.apache.lucene.search.TestKnnFloatVectorQuery.testDocAndScoreQueryBasics(TestKnnFloatVectorQuery.java:209)
...

Gradle command to reproduce

./gradlew test --tests TestKnnFloatVectorQuery.testDocAndScoreQueryBasics -Dtests.seed=D2B504855ECC5807 -Dtests.multiplier=2 -Dtests.locale=ca-ES-VALENCIA -Dtests.timezone=Europe/Vienna -Dtests.asserts=true -Dtests.file.encoding=UTF-8

@cpoerschke
Copy link
Contributor Author

I think this is a false-positive i.e. a test issue, pull request to follow.

@cpoerschke
Copy link
Contributor Author

Manual issue closing - 3bd06b1 for main and caf55e0 for branch_9x - not sure why the first commit did not auto-close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants