Convert KQL to DSL using java api client

I want to implement "Discover search" (present in Kibana) in my application so I need to convert KQL to DSL using java api client at server side.
is there any way to do that?
can I use query_string like below
QueryBuilders.queryString(qs->qs.query("");

Unfortunately I don't think it's possible. Implementation lives in Kibana code base in typescript and is only available there

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.