org.neo4j.gis.spatial.indexprovider.LayerNodeIndex#add doesn't seem to
conform to the org.neo4j.graphdb.index.Index#add interface specifications:

"Adds a key/value pair for entity to the index. If that key/value pair for
the entity is already in the index it's up to the implementation to make it
so that such an operation is idempotent."

In my tests, calling LayerNodeIndex#add N number of times for the same Node
resulted in N number of nodes being added to the corresponding Spatial
Layer for that index.

https://github.com/neo4j/spatial/blob/master/src/main/java/org/neo4j/gis/spatial/indexprovider/LayerNodeIndex.java

Any thoughts?
_______________________________________________
Neo4j mailing list
[email protected]
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to