You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Robert Muir (JIRA)" <ji...@apache.org> on 2016/03/16 00:57:33 UTC

[jira] [Updated] (LUCENE-7109) LatLonPoint newPolygonQuery should use two-phase iterator

     [ https://issues.apache.org/jira/browse/LUCENE-7109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Muir updated LUCENE-7109:
--------------------------------
    Attachment: LUCENE-7109.patch

here is a patch. I added a simple test. There is already a random one, but i wanted a testBasics...

> LatLonPoint newPolygonQuery should use two-phase iterator
> ---------------------------------------------------------
>
>                 Key: LUCENE-7109
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7109
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Robert Muir
>         Attachments: LUCENE-7109.patch
>
>
> Currently, the calculation this thing does is very expensive, and gets slower the more complex the polygon is. Doing everything in one phase is really bad for performance.
> Later, there are a lot of optimizations we can do. But I think we should try to beef up testing first. This is just to improve from galapagos-tortoise-slow to turtle-slow.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org