anchor.diff:  
   --
   
  -Details of CRUD operations for Nitrite Collection are <<index.adoc#crud-operations,here>>, and
  -for Object Repository are <<index.adoc#crud-operations-2,here>>.
  -
  -.Create Indices
  +*.Create Indices*
   [source,java]
   --
   // create document index
  
positive.code:                          .firstOrDefault();
  --
  
  There are several find filters available for feature-rich search operations. Please head over
  <<index.adoc#filter,here>>.
  
  [source,java]
  .Automatic Replication
  --
  // connect to a DataGate server
  DataGateClient dataGateClient = new DataGateClient("http://localhost:9898")
  
negative.code: 
  --
  
  .*CRUD Operations*
  [source,java]
  --
  // create a document to populate data
  Document doc = createDocument("firstName", "John")
       .put("lastName", "Doe")
       .put("birthDay", new Date())
       .put("data", new byte[] {1, 2, 3})
       .put("fruits", new ArrayList<String>() {{ add("apple"); add("orange"); add("banana"); }})
       .put("note", "a quick brown fox jump over the lazy dog");
  
  // insert the document
  collection.insert(doc);
  