Auto-generated code for main (#2566)

This commit is contained in:
Elastic Machine
2025-01-13 15:44:45 +00:00
committed by GitHub
parent 2b2a9947c7
commit 63104b5e5e
29 changed files with 1978 additions and 536 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);
----