[DOCS] Fix multi percolate response sample in percolate.asciidoc
This commit is contained in:
parent
80fe8d1f72
commit
00a9db73ae
|
@ -396,7 +396,7 @@ Response:
|
||||||
[source,js]
|
[source,js]
|
||||||
--------------------------------------------------
|
--------------------------------------------------
|
||||||
{
|
{
|
||||||
"items" : [
|
"responses" : [
|
||||||
{
|
{
|
||||||
"took" : 24,
|
"took" : 24,
|
||||||
"_shards" : {
|
"_shards" : {
|
||||||
|
@ -405,7 +405,20 @@ Response:
|
||||||
"failed" : 0,
|
"failed" : 0,
|
||||||
},
|
},
|
||||||
"total" : 3,
|
"total" : 3,
|
||||||
"matches" : ["1", "2", "3"]
|
"matches" : [
|
||||||
|
{
|
||||||
|
"_index": "twitter",
|
||||||
|
"_id": "1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"_index": "twitter",
|
||||||
|
"_id": "2"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"_index": "twitter",
|
||||||
|
"_id": "3"
|
||||||
|
}
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"took" : 12,
|
"took" : 12,
|
||||||
|
@ -415,10 +428,23 @@ Response:
|
||||||
"failed" : 0,
|
"failed" : 0,
|
||||||
},
|
},
|
||||||
"total" : 3,
|
"total" : 3,
|
||||||
"matches" : ["4", "5", "6"]
|
"matches" : [
|
||||||
|
{
|
||||||
|
"_index": "twitter",
|
||||||
|
"_id": "4"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"_index": "twitter",
|
||||||
|
"_id": "5"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"_index": "twitter",
|
||||||
|
"_id": "6"
|
||||||
|
}
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"error" : "[user][3]document missing"
|
"error" : "DocumentMissingException[[_na][_na] [user][3]: document missing]"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"took" : 12,
|
"took" : 12,
|
||||||
|
@ -440,6 +466,7 @@ Response:
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
--------------------------------------------------
|
--------------------------------------------------
|
||||||
|
|
||||||
Each item represents a percolate response, the order of the items maps to the order in which the percolate requests
|
Each item represents a percolate response, the order of the items maps to the order in which the percolate requests
|
||||||
|
|
Loading…
Reference in New Issue