iverase commented on pull request #1940: URL: https://github.com/apache/lucene-solr/pull/1940#issuecomment-703130472
Yes, approximating the circle to a polygon would work. You will have a penalty in performance depending how many points you use for approximating the circle (which is something the user will have to decide). But I am afraid if this solution scales well. The example I gave was the simple case, in general the input can be a path that can contains hundred of line segments. That mean you can end up with hundred of circles that you need to approximate using polygons with potentially thousands of edges. I would expect that at some point it can get very inefficient, even just building the query. I would find a pity not to expose the capability accepting heterogeneous geometries as it is something that is already supported internally. ---------------------------------------------------------------- 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