I'm using the Java API to interact with Elasticsearch, but am generally finding most of the documentation and examples use raw curl + javascript/json, leaving me at a loss for how to translate this into the Java API equivalent.
So what I'm wondering is whether the Elasticsearch Java Client API offers some way to drop down to "native" json when needed. Obviously I could create my own HttpClient and execute a curl-style call in Java, but before doing that I wondered if there's already something more elegant built into Elasticsearch?
UPDATE: I finally got fed up with Elasticsearch for this reason and many others. I switched to Solr and have been very happy -- delivered an awesome finished app on time that's been rock solid and super performant in production! Solr has a great java client, great docs, super performance, and versatile features, and a totally free GUI monitoring/troubleshooting tool. I'll be sticking with Solr from now on.