You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "iverase (via GitHub)" <gi...@apache.org> on 2025/10/09 08:13:03 UTC

[PR] Prevent zero radius in BaseXYPointTestCase [lucene]

iverase opened a new pull request, #15315:
URL: https://github.com/apache/lucene/pull/15315

   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)
   ```
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org


Re: [PR] Prevent zero radius in BaseXYPointTestCase [lucene]

Posted by "iverase (via GitHub)" <gi...@apache.org>.
iverase merged PR #15315:
URL: https://github.com/apache/lucene/pull/15315


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org


Re: [PR] Prevent zero radius in BaseXYPointTestCase [lucene]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #15315:
URL: https://github.com/apache/lucene/pull/15315#issuecomment-3384677303

   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.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org