with
<dependency>
<groupId>org.springframework.data</groupId>
<artifactId>spring-data-neo4j-rest</artifactId>
<version>2.2.1.RELEASE</version>
</dependency>
I am getting a RuntimeException (below) when adding a node to an index (it is the first addition to that index on an blank database). A bit of digging reveals that the actual response from the underlying rest call is
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
<title>Error 405 Method Not Allowed</title>
</head>
<body><h2>HTTP ERROR 405</h2>
<p>Problem accessing /db/data/index/node/index/node/terms_998FF27CBBD14c81A8B4A0BFAC5DAB31. Reason:
<pre> Method Not Allowed</pre></p><hr /><i><small>Powered by Jetty://</small></i><br/>
<br/>
</body>
</html>
which raises the exception
java.lang.RuntimeException: Error adding element 1 TUPLE_GUID daae11612e2d4ee78e33a9fc3f490c24 to index index/node/terms_998FF27CBBD14c81A8B4A0BFAC5DAB31
at org.neo4j.rest.graphdb.ExecutingRestAPI.addToIndex (ExecutingRestAPI.java:397)
at org.neo4j.rest.graphdb.RestAPIFacade.addToIndex(Re stAPIFacade.java:166)
at org.neo4j.rest.graphdb.index.RestIndex.add(RestInd ex.java:60)
(... remaining stacktrace is not neo4j related) The underlying server is 1.9 RC2 (1.9 RC1 does the same). The same operation implemented using the REST batch API directly works fine using the same index name.
Any help would be greatly appreciated. I posted this on stackoverflow a while ago to no avail (question is here)
<dependency>
<groupId>org.springframework.data</groupId>
<artifactId>spring-data-neo4j-rest</artifactId>
<version>2.2.1.RELEASE</version>
</dependency>
I am getting a RuntimeException (below) when adding a node to an index (it is the first addition to that index on an blank database). A bit of digging reveals that the actual response from the underlying rest call is
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
<title>Error 405 Method Not Allowed</title>
</head>
<body><h2>HTTP ERROR 405</h2>
<p>Problem accessing /db/data/index/node/index/node/terms_998FF27CBBD14c81A8B4A0BFAC5DAB31. Reason:
<pre> Method Not Allowed</pre></p><hr /><i><small>Powered by Jetty://</small></i><br/>
<br/>
</body>
</html>
which raises the exception
java.lang.RuntimeException: Error adding element 1 TUPLE_GUID daae11612e2d4ee78e33a9fc3f490c24 to index index/node/terms_998FF27CBBD14c81A8B4A0BFAC5DAB31
at org.neo4j.rest.graphdb.ExecutingRestAPI.addToIndex (ExecutingRestAPI.java:397)
at org.neo4j.rest.graphdb.RestAPIFacade.addToIndex(Re stAPIFacade.java:166)
at org.neo4j.rest.graphdb.index.RestIndex.add(RestInd ex.java:60)
(... remaining stacktrace is not neo4j related) The underlying server is 1.9 RC2 (1.9 RC1 does the same). The same operation implemented using the REST batch API directly works fine using the same index name.
Any help would be greatly appreciated. I posted this on stackoverflow a while ago to no avail (question is here)