title: Elasticsearch Bulk API : Cannot post more than one record
body: <p>I am trying to post the following using the bulk api. I have ES 2.2.0</p>
  
  <pre><code>{"index":{"_index":"junktest","_type":"test"}}
  {"DocumentID":"555662","Tags":["B","C","D"],"Summary":"Summary Text","Status":"Review","Location":"HDFS","Error":"None","Author":"Abc Mnb","Sector":"Energy","Created Date":"2013-05-23"},
  {"DocumentID":"555663","Tags":["A","B","C"],"Summary":"Summary Text","Status":"Review","Location":"HDFS","Error":"None","Author":"Abc Mnb","Sector":"Energy","Created Date":"2013-04-25"}
  </code></pre>
  
  <p>as</p>
  
  <pre><code>curl -XPOST "http://localhost:9200/_bulk" --data-binary @post.json
  </code></pre>
  
  <p>but i get</p>
  
  <pre><code>  {"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"Malformed
       action/metadata line [3], expected START_OBJECT or END_OBJECT but found [VALUE_
  STRING]"}],"type":"illegal_argument_exception","reason":"Malformed action/metadata line [3], expected START_OBJECT or END_OBJECT but found [VALUE_STRING]"},"status":400}
  </code></pre>
  
  <p>why is <code>},</code> invalid? i have even tried it without the comma but i still get the error , even though i do not have a <code>,</code> !</p>
  
  <p>What is wrong with my syntax?</p>
  
  <p><strong>Edit</strong></p>
  
  <p>I was able to get it to work by</p>
  
  <pre><code>{"index":{"_index":"junktest","_type":"test"}}
  {"DocumentID":"555662","Tags":["B","C","D"],"Summary":"Summary Text","Status":"Review","Location":"HDFS","Error":"None","Author":"Abc Mnb","Sector":"Energy","Created Date":"2013-05-23"}
  {"index":{"_index":"junktest","_type":"test"}}
  {"DocumentID":"555663","Tags":["A","B","C"],"Summary":"Summary Text","Status":"Review","Location":"HDFS","Error":"None","Author":"Abc Mnb","Sector":"Energy","Created Date":"2013-04-25"}
  </code></pre>
  
  <p>is this the only way to index multiple records using the bulk api?</p>