소스 검색

Use snake casing for document field (#45432)

This commit updates the search example to use snake casing for the document field. This is consistent with other examples
Russ Cam 6 년 전
부모
커밋
961f69eaae
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      docs/reference/search.asciidoc

+ 1 - 1
docs/reference/search.asciidoc

@@ -19,7 +19,7 @@ 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"
 }
 --------------------------------------------------