Size: M
Description:
Integrate DSL packages with js client.
Implementation:
import { Client } from '@elastic/elasticsearch'
import { ESQL } from '@elastic/esql-dsl'
const client = new Client({ node: '...' })
// Query objects work directly
const query = ESQL.from('employees').where(E('salary').gt(50000))
const response = await client.esql.query({ query })
Acceptance:
Size: M
Description:
Integrate DSL packages with js client.
Implementation:
Acceptance:
client.esql.query()client.search()toString()called automatically where needed