[ 
https://issues.apache.org/jira/browse/LUCENE-9552?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17243456#comment-17243456
 ] 

Nick Knize commented on LUCENE-9552:
------------------------------------

Note [~ivera], [Reproducible 
failure|https://ci-builds.apache.org/job/Lucene/job/Lucene-Solr-Check-master/980/console]

{code:java}
  2> NOTE: reproduce with: gradlew test --tests 
TestLatLonPointQueries.testLowCardinality -Dtests.seed=B77EDE3ECA6A5F79 
-Dtests.multiplier=2 -Dtests.slow=true -Dtests.badapples=true 
-Dtests.locale=seh-MZ -Dtests.timezone=America/Juneau -Dtests.asserts=true 
-Dtests.file.encoding=UTF-8
  2> NOTE: test params are: codec=Lucene90, 
sim=Asserting(RandomSimilarity(queryNorm=false): {}), locale=seh-MZ, 
timezone=America/Juneau
  2> NOTE: Linux 5.4.0-54-generic amd64/Oracle Corporation 15.0.1 
(64-bit)/cpus=8,threads=1,free=239814848,total=270532608
  2> NOTE: All tests run in this JVM: [TestLatLonPointQueries]

{code}



{code:java}
> Task :lucene:core:test

org.apache.lucene.search.TestLatLonPointQueries > testLowCardinality FAILED
    java.lang.AssertionError
        at 
__randomizedtesting.SeedInfo.seed([B77EDE3ECA6A5F79:FCE542B87CE96F0B]:0)
        at org.apache.lucene.geo.Rectangle.<init>(Rectangle.java:58)
        at 
org.apache.lucene.geo.GeoEncodingUtils.createComponentPredicate(GeoEncodingUtils.java:185)
        at 
org.apache.lucene.document.LatLonPointInGeometryQuery.createWeight(LatLonPointInGeometryQuery.java:147)
        at 
org.apache.lucene.search.IndexSearcher.createWeight(IndexSearcher.java:849)
        at 
org.apache.lucene.search.AssertingIndexSearcher.createWeight(AssertingIndexSearcher.java:57)
        at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:528)
        at 
org.apache.lucene.geo.BaseGeoPointTestCase.searchIndex(BaseGeoPointTestCase.java:1126)
        at 
org.apache.lucene.geo.BaseGeoPointTestCase.verifyRandomGeometries(BaseGeoPointTestCase.java:1068)
        at 
org.apache.lucene.geo.BaseGeoPointTestCase.verify(BaseGeoPointTestCase.java:776)
        at 
org.apache.lucene.geo.BaseGeoPointTestCase.testLowCardinality(BaseGeoPointTestCase.java:454)

{code}


> Add a LatLonPoint query that accepts an array of LatLonGeometries
> -----------------------------------------------------------------
>
>                 Key: LUCENE-9552
>                 URL: https://issues.apache.org/jira/browse/LUCENE-9552
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Ignacio Vera
>            Assignee: Ignacio Vera
>            Priority: Major
>             Fix For: 8.8
>
>          Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> LatLonPoint currently support three types of queries, against a bound box, an 
> array of polygons or by distance (circle). Therefore if you currently want to 
> combine a query with two of those geometries, a user will need to combine the 
> query with a boolean OR.
> It would be a nice addition to have a query that accepts an array of 
> LatLonGeometries and generates that boolean OR query in a single query. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to