title: Creating document in elasticsearch
body: <p>How do I create a document in elastic search?
  I am using curl to create a document. However, I get the following error</p>
  
  <pre><code>{"error":"MapperParsingException[failed to parse]; nested:  JsonParseException[Unexpected character (''' (code 39)): expected a valid value (number, String,    array, object, 'true', 'false' or 'null')\n at [Source: [B@39312db4; line: 1, column: 2]]; ","status":400}
  </code></pre>
  
  <p>This is the CURL command</p>
  
  <pre><code>curl -XPUT localhost:9200/hello1/equipment/1 -d '{"hi":"val1"}'
  </code></pre>