Get JSON search DSL from the SearchRequestBuilder


(None) #1

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?


(Daniel Mitterdorfer) #2

Hi,

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.

Daniel


(system) #3