Updated examples

This commit is contained in:
delvedor
2020-09-04 18:04:38 +02:00
parent ecccaf023e
commit b104ce42f5
7 changed files with 7 additions and 7 deletions

View File

@ -48,7 +48,7 @@ async function run2 () {
// last 10 commits for 'elasticsearch-js' repo
const { body } = await client.search({
index: 'git',
body: new F()
body: F()
.term('repository', 'elasticsearch-js')
.sort('committed_date', { order: 'desc' })
.size(10)