Hello,

trying to work RESTfully with Neo4j via Standalone Server (1.5.M01) I'm
about to become desperate.

I'm sending an POST-Request to
http://localhost:7474/db/data/index/node/, getting status-code 500 with
the response-text "java.lang.Boolean cannot be cast to
java.lang.String".

The indexes I've wanted to create are the following one:

{"name":"address","config":{"provider":"lucene","type":"fulltext"}}
{"name":"user","config":{"provider":"lucene","type":"fulltext"}}

Neo4j log contains the following line:

"17.10.2011 16:56:10 org.mortbay.log.Slf4jLog warn
FATAL: /db/data/index/node/
java.lang.ClassCastException: java.lang.Boolean cannot be cast to
java.lang.String
        at
org.neo4j.index.impl.lucene.LuceneIndexImplementation.match(LuceneIndexI
mplementation.java:165)
        at
org.neo4j.index.impl.lucene.LuceneIndexImplementation.configMatches(Luce
neIndexImplementation.java:156)
        at
org.neo4j.kernel.IndexManagerImpl.findIndexConfig(IndexManagerImpl.java:
128)
        at
org.neo4j.kernel.IndexManagerImpl.getOrCreateIndexConfig(IndexManagerImp
l.java:183)
        at
org.neo4j.kernel.IndexManagerImpl.getOrCreateNodeIndex(IndexManagerImpl.
java:272)
        at
org.neo4j.kernel.IndexManagerImpl.forNodes(IndexManagerImpl.java:260)
        at
org.neo4j.server.rest.web.DatabaseActions.createNodeIndex(DatabaseAction
s.java:338)
        at
org.neo4j.server.rest.web.RestfulGraphDatabase.jsonCreateNodeIndex(Restf
ulGraphDatabase.java:589) [...]"

Whats wrong with this requests and in case this is an known bug at the
REST server-component when will it be fixed?


Greets,
Christian Scharr
_______________________________________________
Neo4j mailing list
[email protected]
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to