Browse Source

Fixed typo in search for wrong type (#28645)

Andrew Anderson 7 years ago
parent
commit
54a9249992
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/reference/query-dsl/terms-query.asciidoc

+ 1 - 1
docs/reference/query-dsl/terms-query.asciidoc

@@ -93,7 +93,7 @@ GET /tweets/_search
         "terms" : {
             "user" : {
                 "index" : "users",
-                "type" : "user",
+                "type" : "_doc",
                 "id" : "2",
                 "path" : "followers"
             }