Transport client backward compatibility

Will 2.2/2.3 Elastic Java transport client work on 1.5.1/1.7 versions?
And the same in 5, will it have backward compatibility for versions 2.x and 1.x?

No.

For 5.0 we will release a REST java client.

OK thank you, so for now if I want multiple versions support I'm better off with regular HTTP requests

Yes. I ended up building my own client which covers only a few APIs I was needing.

https://github.com/dadoonet/fscrawler/tree/master/src/main/java/fr/pilato/elasticsearch/crawler/fs/client

Not ideal... I'll definitely replace all that when the official REST client will be out.