Skip to content

Commit

Permalink
VERB fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
mlr3000 committed May 25, 2016
1 parent 467021c commit 6dab8bc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions 030_Data/50_Mget.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
`mget` API参数是一个`docs`数组,数组的每个节点定义一个文档的`_index``_type``_id`元数据。如果你只想检索一个或几个确定的字段,也可以定义一个`_source`参数:

```Javascript
GET /_mget
POST /_mget
{
"docs" : [
{
Expand Down Expand Up @@ -58,7 +58,7 @@ GET /_mget
你依旧可以在单独的请求中使用这些值:

```Javascript
GET /website/blog/_mget
POST /website/blog/_mget
{
"docs" : [
{ "_id" : 2 },
Expand All @@ -70,7 +70,7 @@ GET /website/blog/_mget
事实上,如果所有文档具有相同`_index``_type`,你可以通过简单的`ids`数组来代替完整的`docs`数组:

```Javascript
GET /website/blog/_mget
POST /website/blog/_mget
{
"ids" : [ "2", "1" ]
}
Expand Down

0 comments on commit 6dab8bc

Please sign in to comment.