Spring Data Neo4j does not recognize externally inserted nodes -
i using small clojure script batch-inserts nodes neo4j instance. show these nodes, using spring-based webapp spring data neo4j. created small domain object represents node.
when insert node utilizing webapp, loaded , showed right out of box. when try load node has been inserted external script, cannot found. compatible, thought sufficient enough add _type_ attribute fqn of domain class. seems me, there's more do.
i using neo4j 1.8.2 server , sdn 2.2.2
can give me hint?
thanks in advance.
best, markus
spring data neo4j (sdn) uses typerepresentationstrategy
. if sdn not configured explicitely, uses indexingnodetyperepresentationstrategy
, indexingrelationshiptyperepresentationstrategy
per default. these strategies keep index named "__types__" node entities , 1 named "__rel_types__" relationship entities. node or relationship entities created sdn added corresponding index.
if you're using repository infrastructure of sdn , call yourentityrepo.findall()
, "__types__" (or "__rel_types__") index queried entities specific type.
your script not update indices. have @ reindexing solution described on neo4j google group.
Comments
Post a Comment