Files
elasticsearch-js/docs/doc_examples/da0fe1316e5b8fd68e2a8525bcd8b0f6.asciidoc
2024-07-29 17:10:05 -05:00

27 lines
479 B
Plaintext

// This file is autogenerated, DO NOT EDIT
// Use `node scripts/generate-docs-examples.js` to generate the docs examples
[source, js]
----
const response = await client.search({
query: {
bool: {
must: {
match: {
body: "elasticsearch",
},
},
should: {
rank_feature: {
field: "pagerank",
saturation: {
pivot: 10,
},
},
},
},
},
});
console.log(response);
----