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

   Add new field that index both LatLonPoint and LatLonDocValues and provides 
factory methods for the operations that can be performed. Those are:
   
   ```
   Query newGeometryQuery(String field, ShapeField.QueryRelation queryRelation, 
LatLonGeometry... latLonGeometries);
   
   Query newDistanceFeatureQuery(String field, float weight, double originLat, 
double originLon, double pivotDistanceMeters) ;
   
   TopFieldDocs nearest( IndexSearcher searcher, String field, double latitude, 
double longitude, int n);
   
   SortField newDistanceSort(String field, double latitude, double longitude) ;
   ```
   
   
   closes https://github.com/apache/lucene/issues/12161


-- 
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-unsubscr...@lucene.apache.org

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


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

Reply via email to