How to get the JSON for a BoolQuery

Given an instance of BoolQuery, how can I find out the JSON string that will be sent to the ES server?

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