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

JerryC updated SOLR-5420:
-------------------------

    Description: 
We got the following problem. When we try to index polygons together with their 
centroid in one document only a few documents are indexed, most of them return 
the error:

com.spatial4j.core.exception.InvalidShapeException: Ring Self-intersection at 
or near point (10.4592,​ 49.921,​ NaN)

When we index only the polygons everything works fine. When we index only the 
centroids everything woks fine. But when we index the polygons in one 
SpatialRecursivePrefixTreeFieldType and the centroid in another 
SpatialRecursivePrefixTreeFieldType we get the errors for a lot of polygons. 
Out of around 13000 polygons only ca. 3000 are indexed the other documents 
produce the error.

We are using the latest Solr 4.5 version.

  was:
We got the following problem. When we try to index polygons together with their 
centroid in one document only a few documents are indexed, most of them return 
the error:

com.spatial4j.core.exception.InvalidShapeException: Ring Self-intersection at 
or near point (10.4592,​ 49.921,​ NaN)
When we index only the polygons everything works fine. When we index only the 
centroids everything woks fine. But when we index the polygons in one 
SpatialRecursivePrefixTreeFieldType and the centroid in another 
SpatialRecursivePrefixTreeFieldType we get the errors for a lot of polygons. 
Out of around 13000 polygons only ca. 3000 are indexed the other documents 
produce the error.

We are using the latest Solr 4.5 version.


> Solr indexing of multiple spatial fields (with polygons) produces errors
> ------------------------------------------------------------------------
>
>                 Key: SOLR-5420
>                 URL: https://issues.apache.org/jira/browse/SOLR-5420
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 4.5
>            Reporter: JerryC
>
> We got the following problem. When we try to index polygons together with 
> their centroid in one document only a few documents are indexed, most of them 
> return the error:
> com.spatial4j.core.exception.InvalidShapeException: Ring Self-intersection at 
> or near point (10.4592,​ 49.921,​ NaN)
> When we index only the polygons everything works fine. When we index only the 
> centroids everything woks fine. But when we index the polygons in one 
> SpatialRecursivePrefixTreeFieldType and the centroid in another 
> SpatialRecursivePrefixTreeFieldType we get the errors for a lot of polygons. 
> Out of around 13000 polygons only ca. 3000 are indexed the other documents 
> produce the error.
> We are using the latest Solr 4.5 version.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to