Update quick_start.asciidoc
Fixed the example with the filtered query, missing the top-level `query` parameter
This commit is contained in:
@ -123,6 +123,7 @@ client.search({
|
||||
from: (pageNum - 1) * perPage,
|
||||
size: perPage,
|
||||
body: {
|
||||
query: {
|
||||
filtered: {
|
||||
query: {
|
||||
match: {
|
||||
@ -145,7 +146,7 @@ client.search({
|
||||
}
|
||||
}
|
||||
}
|
||||
}, function (error, response) {
|
||||
}, function (error, response) {
|
||||
if (err) {
|
||||
// handle error
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user