iverase commented on pull request #1940:
URL: https://github.com/apache/lucene-solr/pull/1940#issuecomment-702819188


   I have two motivations for this change:
   
   1) Finding all points at a distance of a line can be approximated  by 
creating a polygon and two circles and finding all points that is inside any of 
those geometries. Currently three queries are need inside a boolean OR. With 
this approach it can be executed in a single query.
   
   2) API-wise, it simplifies the implementation as you don't need to know 
which geometry you are dealing with to create the query.


----------------------------------------------------------------
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:
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