Search elasticsearch with java client using JSON query

Hi Jörg,
this snippet doesn't work in ES 5.2.0. The Createparser method needs an additional NamedXContentRegistry. Also getQueryParserRegistry() doesn't exist anymore and the parseFieldMatcher is deprecated and will possibly break in the future.
I think it should be possible to query a json query with the offical api without touching the ES internals.