Skip to content


Supplied index configuration does not match stored config #93

luanne opened this Issue · 1 comment

2 participants


The following exception is thrown when I try to get a handle to the spatial index on an existing graph that contains the index already (or if you try to reload the index using .forNodes)

Exception in thread "main" java.lang.IllegalArgumentException: Supplied index configuration:
{geometry_type=point, lon=lon, provider=spatial, lat=lat}
doesn't match stored config in a valid way:
{geometry_type=point, lon=lon, provider=spatial, lat=lat}
for 'testspatial'
at org.neo4j.kernel.IndexManagerImpl.assertConfigMatches(
at org.neo4j.kernel.IndexManagerImpl.findIndexConfig(
at org.neo4j.kernel.IndexManagerImpl.getOrCreateIndexConfig(
at org.neo4j.kernel.IndexManagerImpl.getOrCreateNodeIndex(
at org.neo4j.kernel.IndexManagerImpl.forNodes(
at TestSpatialIndexFetch.createSpatialIndex(
at TestSpatialIndexFetch.main(
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
at java.lang.reflect.Method.invoke(
at com.intellij.rt.execution.application.AppMain.main(

@luanne luanne closed this

This fix is not available for 1.9. I downloaded neo4j spatial plugin here (this download link is given the spatial documentation here:

I am getting the same error as in the issue title, when I try to create a spatial index using the REST api as given here:

I then deleted my graph.db directory and the creation of spatial index worked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.