Get JSON search DSL from the SearchRequestBuilder

Hi when building search DSL using SearchRequestBuilder from the Java client and the various builders. Is it possible to get back the full JSON and without requiring the client?


for debugging purposes you can just call toString() on the search request builder instance. But as I said you shouldn't really use this for anything else.