title: Neo4jClient Load with indexes
body: <p>Very new to Neo4J and the .Net Neo4Jclient, but I'm trying to get a basic project up and running. Would anybody have some basic code or examples for adding nodes to the server with indexes, while allowing relationships between the same node types? The final goal of the project is to create a graph version of the Princeton Wordnet - <a href="http://wordnet.princeton.edu/" rel="nofollow">http://wordnet.princeton.edu/</a></p>
  
  <p>Initially I'm attempting to create a relationship between two nodes of the same type, call them Root Words. They should be related via a IS_SYNONYM relationship. The root nodes will need to be fully text indexed to allow searching. This "should" allow me to search for all synonyms of a given root word.</p>
  
  <p>This is how I see the relationship:</p>
  
  <p>(RootWord1, <strong>Type[A]</strong>) &lt; ==:[IS_SYNONYM] == > (RootWord2, <strong>Type[A]</strong>)</p>
  
  <p>And these are the basic structures I've started with:</p>
  
  <pre><code>public class RootWord
      {
          [JsonProperty()]             
          public string Term { get; set; }
      }
  
  public class IsSynonym : Relationship
          , IRelationshipAllowingSourceNode&lt;RootWord&gt;
          , IRelationshipAllowingTargetNode&lt;RootWord&gt;
      {
          public const string TypeKey = "IS_SYNONYM";
  
          public IsSynonym(NodeReference targetNode)
              : base(targetNode){}
  
          public IsSynonym(NodeReference targetNode, object data)
              : base(targetNode, data){}
  
          public override string RelationshipTypeKey
          {
              get { return TypeKey; }
          }
      }
  </code></pre>
  
  <p>I've been staring at this for a while now so any help is hugely appreciated, Thanks.</p>