You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "David Smiley (JIRA)" <ji...@apache.org> on 2013/11/08 06:40:18 UTC

[jira] [Resolved] (SOLR-5429) Point collapsed Rectangle at Poles resulting in GC OutOfMemory Exception

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

David Smiley resolved SOLR-5429.
--------------------------------

    Resolution: Duplicate

Known issue; closing as duplicate. It'll take a while to fix this because it requires a new prefix-tree encoding -- one that doesn't _always_ divide each grid in half, particularly when the rectangle is twice as high (or more) as it is wide.  

> Point collapsed Rectangle at Poles resulting in GC OutOfMemory Exception
> ------------------------------------------------------------------------
>
>                 Key: SOLR-5429
>                 URL: https://issues.apache.org/jira/browse/SOLR-5429
>             Project: Solr
>          Issue Type: Bug
>          Components: spatial
>    Affects Versions: 4.2.1, 4.5
>         Environment: Tested with 4.2.1 and 4.5
>            Reporter: Dennis Reichelt
>            Priority: Minor
>
> When indexing rectangles some shapes lead to OutOfMemory Errors in SolrDispatcher. It seems like shapes and points near poles are most effected I will try to contribute some more shapes than this.
> Shapes:
> Not working:
> <field name="geo">-180.0 90.0 180.0 90.0</field>
> <field name="geo">-180.0 -90.0 180.0 -90.0</field>
> Working:
> <field name="geo">180.0 90.0 180.0 90.0</field>
> <field name="geo">-180.0 80.0 180.0 80.0</field>
> Schema.xml:
> <fieldType name="location_rpt" class="solr.SpatialRecursivePrefixTreeFieldType"
>         geo="true" distErrPct="0.025" maxDistErr="0.000009" units="degrees" />
> <field name="geo" type="location_rpt" indexed="true" stored="false" multiValued="true" default="-180 -90 180 90"/>



--
This message was sent by Atlassian JIRA
(v6.1#6144)

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