Added/updated snippets for docs (#2318)
This commit is contained in:
@ -4,17 +4,14 @@
|
||||
[source, js]
|
||||
----
|
||||
const response = await client.search({
|
||||
index: 'index_long,index_double',
|
||||
body: {
|
||||
sort: [
|
||||
{
|
||||
field: {
|
||||
numeric_type: 'double'
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
})
|
||||
console.log(response)
|
||||
index: "index_long,index_double",
|
||||
sort: [
|
||||
{
|
||||
field: {
|
||||
numeric_type: "double",
|
||||
},
|
||||
},
|
||||
],
|
||||
});
|
||||
console.log(response);
|
||||
----
|
||||
|
||||
|
||||
Reference in New Issue
Block a user