Added/updated snippets for docs (#2318)
This commit is contained in:
19
docs/doc_examples/a5e793d82a4455cf4105dac82a156617.asciidoc
Normal file
19
docs/doc_examples/a5e793d82a4455cf4105dac82a156617.asciidoc
Normal file
@ -0,0 +1,19 @@
|
||||
// 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.indices.validateQuery({
|
||||
index: "my-index-000001",
|
||||
rewrite: "true",
|
||||
query: {
|
||||
more_like_this: {
|
||||
like: {
|
||||
_id: "2",
|
||||
},
|
||||
boost_terms: 1,
|
||||
},
|
||||
},
|
||||
});
|
||||
console.log(response);
|
||||
----
|
||||
Reference in New Issue
Block a user