Use snake casing for document field
This commit updates the search example to use snake casing for the document field. This is consistent with other examples
@@ -21,7 +21,7 @@ when indexing tweets, the routing value can be the user name:
POST /twitter/_doc?routing=kimchy
{
"user" : "kimchy",
- "postDate" : "2009-11-15T14:12:12",
+ "post_date" : "2009-11-15T14:12:12",
"message" : "trying out Elasticsearch"
}
--------------------------------------------------
