title: Neo4j creating relationships using csv
body: <p>I am trying to create relationships between 2 types of nodes using csv file loaded.
  I have already created all Movies and Keywords nodes. I created also indexes on :Movie(title) and :Keyword(word).</p>
  
  <p>My csv file looks like:</p>
  
  <blockquote>
    <p>"title"|year|"word" //header</p>
    
    <p>"Into the Wild"|2007|"1990s" //line with title, year and keyword </p>
    
    <p>"Into the Wild"|2007|"abandoned-bus"</p>
  </blockquote>
  
  <p>My query:</p>
  
  <pre><code>LOAD CSV WITH HEADERS FROM "file:/home/gondil/temp.csv" AS csv
  FIELDTERMINATOR '|'
  MATCH (m:Movie {title:csv.title,year: toInt(csv.year)}), (k:Keyword {word:csv.word})
  MERGE (m)-[:Has {weight:1}]-&gt;(k);
  </code></pre>
  
  <p>Query runs for about one hour and than it shows error "Unknown error".
  What a redundant Error description.</p>
  
  <p>I thought it is due to 160K keywords and over 1M movies and over 4M lines in csv.
  So I shorten a csv to just one line and it is still running for about 15 minutes with no stop.</p>
  
  <p><strong>Where is the problem? How to write a query for creating relationships between 2 already created nodes?</strong></p>
  
  <p><strong>I can also delete all nodes and build my database other way but it will be better to not delete all that created nodes.</strong></p>
  
  <p>Note: I shouldn't have a hardware problems cause I use Super PC from our faculty. </p>