I can't find a way to output the query created by the Java 7.8 High level Rest Client. I want to take the query and explain it/debug it in Kibana dev tools. However without an easy way to output the query being sent to elastic I am going to need to decode the query built up in Java and hand write it. I could turn on the slow query log and grab it from the logs but it feels like there should be a simpler way to do this that I am missing!
I think you can use the toString()
method on a QueryBuilder
.
1 Like
I really don't know why I didn't think to try that!!! Thanks
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.