jpountz commented on a change in pull request #762: LUCENE-8903: Add 
LatLonShape point query
URL: https://github.com/apache/lucene-solr/pull/762#discussion_r300427294
 
 

 ##########
 File path: lucene/sandbox/src/java/org/apache/lucene/document/LatLonShape.java
 ##########
 @@ -94,9 +94,18 @@ private LatLonShape() {
     return new Field[] {new LatLonTriangle(fieldName, lat, lon, lat, lon, lat, 
lon)};
   }
 
+  /** create a query to find all indexed shapes that comply the {@link 
QueryRelation} with the provided point
+   **/
+  public static Query newPointQuery(String field, QueryRelation queryRelation, 
double lat, double lon) {
 
 Review comment:
   do we really need a relation or can we just assume INTERSECTS?

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to