Skip to content

Conversation

iverase
Copy link
Contributor

@iverase iverase commented Oct 9, 2025

Fixes the following CI error:

TestXYPointQueries > testRandomMedium {seed=[3C55FEBBB310DF4C:818BC913F275BC2A]} FAILED
    java.lang.IllegalArgumentException: radius must be bigger than 0, got 0.0
        at __randomizedtesting.SeedInfo.seed([3C55FEBBB310DF4C:818BC913F275BC2A]:0)
        at org.apache.lucene.geo.XYCircle.<init>(XYCircle.java:46)
        at org.apache.lucene.document.XYPointField.newDistanceQuery(XYPointField.java:178)
        at org.apache.lucene.search.TestXYPointQueries.newDistanceQuery(TestXYPointQueries.java:39)
        at org.apache.lucene.tests.geo.BaseXYPointTestCase.verifyRandomDistances(BaseXYPointTestCase.java:932)
        at org.apache.lucene.tests.geo.BaseXYPointTestCase.verify(BaseXYPointTestCase.java:792)
        at org.apache.lucene.tests.geo.BaseXYPointTestCase.doTestRandom(BaseXYPointTestCase.java:761)
        at org.apache.lucene.tests.geo.BaseXYPointTestCase.testRandomMedium(BaseXYPointTestCase.java:673)
        at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)

@iverase iverase added this to the 10.4.0 milestone Oct 9, 2025
Copy link
Contributor

github-actions bot commented Oct 9, 2025

This PR does not have an entry in lucene/CHANGES.txt. Consider adding one. If the PR doesn't need a changelog entry, then add the skip-changelog label to it and you will stop receiving this reminder on future updates to the PR.

Copy link
Contributor

@dweiss dweiss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, @iverase

@iverase iverase merged commit 42020b1 into apache:main Oct 9, 2025
12 checks passed
@iverase iverase deleted the radiusZeroXY branch October 9, 2025 10:30
iverase added a commit that referenced this pull request Oct 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants