Property File: General Settings


tdg.commit.size=[size]

The commit size. Use a commit size which is more than 100

example: 

     tdg.commit.size=2000

tdg.tdgid.index=[on | off]

Create an index on the tgd_id property (possible values on / off, default = on)
The tdg_id index is NEEDED if you want to relate to newly created nodes. You should only switch it off if you want to create more than 10 000 000 nodes In this case you should use a seperate props file with lookup nodes to relate to these newly created nodes.

example: 

     tdg.tdgid.index=on
     
comment output.start=[text]
comment output.end=[text]

You can add a start and end comments in your property file which will be sent to the response output. Every comment will be prepended with a date.

examples

    tdg.comment.start=Start My load script 
    tdg.comment.end=End My load script 
    
tdg.pre.processing.cypher.[nr]

Pre Cypher Statements
You can put multiple cypher statements here which are run before all the node/relation/property handling This is typically the place where to add for example load csv commands or do a count of the nodes. The execution results will be shown in the output.

[nr] is an integer starting with 1.
note that the numbers must be following each other! As soon as the engine cannot find a nr it stops with executing cypher statements. So if you have a nr 1 and only a nr 3 nr 3 will not be executed

example:
 
    tdg.pre.processing.cypher.1=match (n) return count(n) as totalNodeCount
   
tdg.post.processing.cypher.[nr]

Post Cypher Statements
You can put multiple cypher statements here which are run after all the node/relation/property handling Typically in the case of not using tdg_id index you may want to add any index after the creation of the nodes

[nr] is an integer starting with 1. note that the numbers must be following each other! As soon as the engin cannot find a nr it stops with executing cypher statements. So if you have a nr 1 and only a nr 3 nr 3 will not be executed The output of the cypher statement will be dumped into the output

   example: 

     tdg.post.processing.cypher.1=create index on :Person(name)