Auto-generated code for 8.16 (#2569)

This commit is contained in:
Elastic Machine
2025-01-13 16:08:05 +00:00
committed by GitHub
parent f9a5a18a71
commit fecda564da
8 changed files with 214 additions and 0 deletions

View File

@ -0,0 +1,35 @@
// 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: {
intervals: {
my_text: {
all_of: {
ordered: false,
max_gaps: 1,
intervals: [
{
match: {
query: "my favorite food",
max_gaps: 0,
ordered: true,
},
},
{
match: {
query: "cold porridge",
max_gaps: 4,
ordered: true,
},
},
],
},
},
},
},
});
console.log(response);
----