Hi,
I have a problem with nodes imported using the Neo4j Batch Importer. When 
trying to load these nodes in SDN I get an IllegalStateException.

java.lang.IllegalStateException: No primary SDN label exists .. (i.e one with 
starting  with _)

I understand that SDL looks for a primary label, starting with "_", but I have 
added this manually through a cypher query:

match (n:Movie) set n:_Movie;

Inspecting the nodes that have been created in SDN instead of imported 
through the batch importer, they look exactly the same. The Movie nodes 
created through SDN have both labels: Movie, _Movie  (which the imported 
nodes have too after I set them manualy). Still, when trying to get the 
imported nodes through a findByID() query or manually converting nodes 
retrieved with neo4jTemplate query with 
neo4jTemplate.convert(node,Movie.class) I get the same 
IllegalStateException. The weird part is that when loading the 
LabelNodeTypeRepresentationStrategy class manually and running 
readAliasFrom() on the batch imported nodes, the function exits cleanly, 
returning the string "Movie". Is there some configuration option or 
metadata that I'm missing?


/Manuel


-- 
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.

Reply via email to