I'm having an error when inserting in Neo4j a spatial object with Spring Data:
Caused by: java.lang.RuntimeException: Error adding element 20 wkt POINT(-0.131483 51.513861) to index LocationIndex at org.neo4j.rest.graphdb.ExecutingRestAPI.addToIndex(ExecutingRestAPI.java:470) at org.neo4j.rest.graphdb.RestAPIFacade.addToIndex(RestAPIFacade.java:168) at org.neo4j.rest.graphdb.index.RestIndex.add(RestIndex.java:60) That's basically because there was a different entry before (that doesn't exist anymore, with the same location). The uniqueness of the constraint means two different objects cannot have the same location, but if you delete the previous one, it seems to remain in the index and collides. Is there any way of re-indexing the spatial index in neo4j? I mean, delete everything and re-index only the existing data. Else, is it posible to delete them manually? Thanks! -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
