[ https://issues.apache.org/jira/browse/LUCENE-8482?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16620151#comment-16620151 ]
Ignacio Vera commented on LUCENE-8482: -------------------------------------- Attached a new patch with the following changes: 1) Change maxDistance to EARTH_MEAN_RADIUS_METERS * Math.PI. You are right, it should be the surface distance. 2) Added a new test that compares sorting. I have tried removing the byte[] comparison in IntersectVisitor#visit() and there was a small decrease in performance. > Boosting by geo distance > ------------------------ > > Key: LUCENE-8482 > URL: https://issues.apache.org/jira/browse/LUCENE-8482 > Project: Lucene - Core > Issue Type: New Feature > Reporter: Adrien Grand > Priority: Minor > Attachments: LUCENE-8482.patch, LUCENE-8482.patch, LUCENE-8482.patch > > > Similarly to LUCENE-8340 it would be nice to have an easy and efficient way > to fold geo distance into scoring formulas in order to boost by proximity. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org