On 17 March 2015 at 15:24:50, David Smith (
shmi...@gmail.com) wrote:
> Hmm, interesting. We've also had some issues way in the past
> due to the client being an actual node in the cluster but that was
> ES 0.19 something and I am sure it isn't a problem anymore.
ES nodes can decide whether they will have shards allocated to them (and thus store data),
see
http://www.elastic.co/guide/en/elasticsearch/client/java-api/current/client.html
(search for "hold data").
You should be able to pass any node configuration options you want with Elastisch.
> If versions aren't a problem any more then what are the reasons
> for using REST if you are on the JVM?
Some environments only allow inbound requests on common HTTP ports.
> We may move to native if we are
> confident that we won't regret it in 12 months time :)
Most heavy Elastisch users (at least those who contribute regularly) use native client.
--
@michaelklishin,
github.com/michaelklishin