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/04 18:07:20 UTC

[jira] [Commented] (SOLR-5420) Solr indexing of multiple spatial fields (with polygons) produces errors

    [ https://issues.apache.org/jira/browse/SOLR-5420?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13813011#comment-13813011 ] 

David Smiley commented on SOLR-5420:
------------------------------------

You duplicated this post on http://stackoverflow.com/questions/19767488/solr-indexing-of-multiple-spatial-fields-with-polygons-produces-errors   but since this pertains to an apparent bug/error, we can deal with it here.

My response/comment:
As I double-check the code, it's hard to see how your error could happen. Could you please supply a simple input document in Solr UpdateXML format that demonstrates the problem? If you don't want to share publicly then send it to me directly.

> 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
>            Assignee: David Smiley
>
> 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 in one document 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org