Added/updated snippets for docs (#2318)
This commit is contained in:
15
docs/doc_examples/2a9747bcfaf1f9491ebd410b3fcb6798.asciidoc
Normal file
15
docs/doc_examples/2a9747bcfaf1f9491ebd410b3fcb6798.asciidoc
Normal file
@ -0,0 +1,15 @@
|
||||
// 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: {
|
||||
query_string: {
|
||||
query: "(new york city) OR (big apple)",
|
||||
default_field: "content",
|
||||
},
|
||||
},
|
||||
});
|
||||
console.log(response);
|
||||
----
|
||||
Reference in New Issue
Block a user