title: py2neo: index.get_or_create() or graph_db.get_or_create_indexed_node()
body: <p>When you add an indexed node in py2neo 1.6.0, you have two options:</p>
  
  <pre><code>graph_db = neo4j.GraphDatabaseService("http://localhost:7474/db/data/")
  </code></pre>
  
  <p>Option 1:</p>
  
  <pre><code>index = graph_db.get_or_create_index('Myindex')
  indexed_node = index.get_or_create('key', 'value', {node props})
  </code></pre>
  
  <p>Option 2:</p>
  
  <pre><code>index = graph_db.get_or_create_index('Myindex')
  indexed_node = graph_db.get_or_create_indexed_node('Myindex', 'key', 'value', {node props})
  </code></pre>
  
  <p>I.e. you can add the node via the Index or via the GraphDatabaseService.</p>
  
  <p>Does it make a difference which one I use? Or are these just wrappers for the same function? </p>