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

18 lines
398 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: {
text_expansion: {
"<sparse_vector_field>": {
model_id: "the model to produce the token weights",
model_text: "the query string",
},
},
},
});
console.log(response);
----