# Elastic Search API : heavy coupling design

**URL:** <https://discuss.elastic.co/t/elastic-search-api-heavy-coupling-design/21920>\
**Category:** Elasticsearch\
**Created:** [January 30, 2015, 2:42pm UTC](https://discuss.elastic.co/t/elastic-search-api-heavy-coupling-design/21920 "2015-01-30T14:42:38Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Amaury\_Fages](https://avatars.discourse-cdn.com/v4/letter/a/0ea827/32.png) [@Amaury\_Fages](https://discuss.elastic.co/u/Amaury_Fages)\
**Post date:** [January 30, 2015, 2:42pm UTC](https://discuss.elastic.co/t/elastic-search-api-heavy-coupling-design/21920/1 "2015-01-30T14:42:38Z")

</div>

Hello everyone,

My customer is currently facing a versioning problem. We have an  
application 'A' that depends (Maven) of ElasticSearch API, which  
communicates by TransportClient with centralized ElasticSearch Server 'B'.

The problem is : when we upgrades 'B', we need to upgrade the Maven  
dependency in application 'A', which is not a desired coupling design in  
the long term. I guess this is a common problem for many companies that you  
should be aware of already.

I saw some topics that said ES promised to leverage this design by avoiding  
being version dependant in a future API version. Right now, we are aiming  
either to :

1. Wait for a solution from ES (in a reasonable time)
2. Migrate completely to a full REST architecture bypassing the API

I hope you can address the 1) before thinking about the 2). What can you  
say about this problem and how could/would you solution it ?

Best regards,

Amaury FAGES.

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/b2e13fe4-1da4-4a76-8b03-4c0e553cd887%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/b2e13fe4-1da4-4a76-8b03-4c0e553cd887%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [January 30, 2015, 4:18pm UTC](https://discuss.elastic.co/t/elastic-search-api-heavy-coupling-design/21920/2 "2015-01-30T16:18:38Z")

</div>

What is your version A?  
And version B?

Asking that because having different elasticsearch versions should work starting elasticsearch 1.0.  
This does not apply to Java versions that need to be consistent.

--  
David Pilato | Technical Advocate | [Elasticsearch.com](http://Elasticsearch.com)  
@dadoonet [https://twitter.com/dadoonet](https://twitter.com/dadoonet) | @elasticsearchfr [https://twitter.com/elasticsearchfr](https://twitter.com/elasticsearchfr) | @scrutmydocs [https://twitter.com/scrutmydocs](https://twitter.com/scrutmydocs)

> Le 30 janv. 2015 à 15:42, Amaury Fages [afages.dx@gmail.com](mailto:afages.dx@gmail.com) a écrit :
> 
> Hello everyone,
> 
> My customer is currently facing a versioning problem. We have an application 'A' that depends (Maven) of Elasticsearch API, which communicates by TransportClient with centralized Elasticsearch Server 'B'.
> 
> The problem is : when we upgrades 'B', we need to upgrade the Maven dependency in application 'A', which is not a desired coupling design in the long term. I guess this is a common problem for many companies that you should be aware of already.
> 
> I saw some topics that said ES promised to leverage this design by avoiding being version dependant in a future API version. Right now, we are aiming either to :
> 
> 1. Wait for a solution from ES (in a reasonable time)
> 2. Migrate completely to a full REST architecture bypassing the API
> 
> I hope you can address the 1) before thinking about the 2). What can you say about this problem and how could/would you solution it ?
> 
> Best regards,
> 
> Amaury FAGES.
> 
> --  
> You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com) [mailto:elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/b2e13fe4-1da4-4a76-8b03-4c0e553cd887%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/b2e13fe4-1da4-4a76-8b03-4c0e553cd887%40googlegroups.com) [https://groups.google.com/d/msgid/elasticsearch/b2e13fe4-1da4-4a76-8b03-4c0e553cd887%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/b2e13fe4-1da4-4a76-8b03-4c0e553cd887%40googlegroups.com?utm_medium=email&utm_source=footer).  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout) [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/764D4229-6F7B-4435-92F3-3930F02601D9%40pilato.fr](https://groups.google.com/d/msgid/elasticsearch/764D4229-6F7B-4435-92F3-3930F02601D9%40pilato.fr).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Amaury\_Fages](https://avatars.discourse-cdn.com/v4/letter/a/0ea827/32.png) [@Amaury\_Fages](https://discuss.elastic.co/u/Amaury_Fages)\
**Post date:** [January 30, 2015, 4:32pm UTC](https://discuss.elastic.co/t/elastic-search-api-heavy-coupling-design/21920/3 "2015-01-30T16:32:36Z")

</div>

Thank you for answering.

Version A is 1.1.2 and B should be above soon or late. The integration team  
had a problem with A already upgrading the server but if from the 1.0 there  
"should not" be any dependency problem, I should maybe dig the problems  
they had exactly.

2015-01-30 17:18 GMT+01:00 David Pilato [david@pilato.fr](mailto:david@pilato.fr):

> What is your version A?  
> And version B?
> 
> Asking that because having different elasticsearch versions should work  
> starting elasticsearch 1.0.  
> This does not apply to Java versions that need to be consistent.
> 
> --  
> _David Pilato_ | _Technical Advocate_ | _[Elasticsearch.com](http://Elasticsearch.com)  
> [http://Elasticsearch.com](http://Elasticsearch.com)_  
> @dadoonet [https://twitter.com/dadoonet](https://twitter.com/dadoonet) | @elasticsearchfr  
> [https://twitter.com/elasticsearchfr](https://twitter.com/elasticsearchfr) | @scrutmydocs  
> [https://twitter.com/scrutmydocs](https://twitter.com/scrutmydocs)
> 
> Le 30 janv. 2015 à 15:42, Amaury Fages [afages.dx@gmail.com](mailto:afages.dx@gmail.com) a écrit :
> 
> Hello everyone,
> 
> My customer is currently facing a versioning problem. We have an  
> application 'A' that depends (Maven) of Elasticsearch API, which  
> communicates by TransportClient with centralized Elasticsearch Server 'B'.
> 
> The problem is : when we upgrades 'B', we need to upgrade the Maven  
> dependency in application 'A', which is not a desired coupling design in  
> the long term. I guess this is a common problem for many companies that you  
> should be aware of already.
> 
> I saw some topics that said ES promised to leverage this design by  
> avoiding being version dependant in a future API version. Right now, we are  
> aiming either to :
> 
> 1. Wait for a solution from ES (in a reasonable time)
> 2. Migrate completely to a full REST architecture bypassing the API
> 
> I hope you can address the 1) before thinking about the 2). What can you  
> say about this problem and how could/would you solution it ?
> 
> Best regards,
> 
> Amaury FAGES.
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/b2e13fe4-1da4-4a76-8b03-4c0e553cd887%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/b2e13fe4-1da4-4a76-8b03-4c0e553cd887%40googlegroups.com)  
> [https://groups.google.com/d/msgid/elasticsearch/b2e13fe4-1da4-4a76-8b03-4c0e553cd887%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/b2e13fe4-1da4-4a76-8b03-4c0e553cd887%40googlegroups.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> 
> --  
> You received this message because you are subscribed to a topic in the  
> Google Groups "elasticsearch" group.  
> To unsubscribe from this topic, visit  
> [https://groups.google.com/d/topic/elasticsearch/hiOsFiPaZnY/unsubscribe](https://groups.google.com/d/topic/elasticsearch/hiOsFiPaZnY/unsubscribe).  
> To unsubscribe from this group and all its topics, send an email to  
> [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/764D4229-6F7B-4435-92F3-3930F02601D9%40pilato.fr](https://groups.google.com/d/msgid/elasticsearch/764D4229-6F7B-4435-92F3-3930F02601D9%40pilato.fr)  
> [https://groups.google.com/d/msgid/elasticsearch/764D4229-6F7B-4435-92F3-3930F02601D9%40pilato.fr?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/764D4229-6F7B-4435-92F3-3930F02601D9%40pilato.fr?utm_medium=email&utm_source=footer)  
> .
> 
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAL2m5Ff45K44yaqYBH2eNtyxBJ3OQi2b%2BZ5w99EfOW0iCdkQ6A%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAL2m5Ff45K44yaqYBH2eNtyxBJ3OQi2b%2BZ5w99EfOW0iCdkQ6A%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Amaury\_Fages](https://avatars.discourse-cdn.com/v4/letter/a/0ea827/32.png) [@Amaury\_Fages](https://discuss.elastic.co/u/Amaury_Fages)\
**Post date:** [February 2, 2015, 9:04am UTC](https://discuss.elastic.co/t/elastic-search-api-heavy-coupling-design/21920/4 "2015-02-02T09:04:25Z")

</div>

I have more information :  
Version A is 1.1.2 as said before and target of B is 1.4 or 1.5.

Can you confirm the compatibility ?

2015-01-30 17:32 GMT+01:00 Amaury Fages [afages.dx@gmail.com](mailto:afages.dx@gmail.com):

> Thank you for answering.
> 
> Version A is 1.1.2 and B should be above soon or late. The integration  
> team had a problem with A already upgrading the server but if from the 1.0  
> there "should not" be any dependency problem, I should maybe dig the  
> problems they had exactly.
> 
> 2015-01-30 17:18 GMT+01:00 David Pilato [david@pilato.fr](mailto:david@pilato.fr):
> 
> > What is your version A?  
> > And version B?
> > 
> > Asking that because having different elasticsearch versions should work  
> > starting elasticsearch 1.0.  
> > This does not apply to Java versions that need to be consistent.
> > 
> > --  
> > _David Pilato_ | _Technical Advocate_ | _[Elasticsearch.com](http://Elasticsearch.com)  
> > [http://Elasticsearch.com](http://Elasticsearch.com)_  
> > @dadoonet [https://twitter.com/dadoonet](https://twitter.com/dadoonet) | @elasticsearchfr  
> > [https://twitter.com/elasticsearchfr](https://twitter.com/elasticsearchfr) | @scrutmydocs  
> > [https://twitter.com/scrutmydocs](https://twitter.com/scrutmydocs)
> > 
> > Le 30 janv. 2015 à 15:42, Amaury Fages [afages.dx@gmail.com](mailto:afages.dx@gmail.com) a écrit :
> > 
> > Hello everyone,
> > 
> > My customer is currently facing a versioning problem. We have an  
> > application 'A' that depends (Maven) of Elasticsearch API, which  
> > communicates by TransportClient with centralized Elasticsearch Server 'B'.
> > 
> > The problem is : when we upgrades 'B', we need to upgrade the Maven  
> > dependency in application 'A', which is not a desired coupling design in  
> > the long term. I guess this is a common problem for many companies that you  
> > should be aware of already.
> > 
> > I saw some topics that said ES promised to leverage this design by  
> > avoiding being version dependant in a future API version. Right now, we are  
> > aiming either to :
> > 
> > 1. Wait for a solution from ES (in a reasonable time)
> > 2. Migrate completely to a full REST architecture bypassing the API
> > 
> > I hope you can address the 1) before thinking about the 2). What can you  
> > say about this problem and how could/would you solution it ?
> > 
> > Best regards,
> > 
> > Amaury FAGES.
> > 
> > --  
> > You received this message because you are subscribed to the Google Groups  
> > "elasticsearch" group.  
> > To unsubscribe from this group and stop receiving emails from it, send an  
> > email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> > To view this discussion on the web visit  
> > [https://groups.google.com/d/msgid/elasticsearch/b2e13fe4-1da4-4a76-8b03-4c0e553cd887%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/b2e13fe4-1da4-4a76-8b03-4c0e553cd887%40googlegroups.com)  
> > [https://groups.google.com/d/msgid/elasticsearch/b2e13fe4-1da4-4a76-8b03-4c0e553cd887%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/b2e13fe4-1da4-4a76-8b03-4c0e553cd887%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > .  
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > 
> > --  
> > You received this message because you are subscribed to a topic in the  
> > Google Groups "elasticsearch" group.  
> > To unsubscribe from this topic, visit  
> > [https://groups.google.com/d/topic/elasticsearch/hiOsFiPaZnY/unsubscribe](https://groups.google.com/d/topic/elasticsearch/hiOsFiPaZnY/unsubscribe).  
> > To unsubscribe from this group and all its topics, send an email to  
> > [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> > To view this discussion on the web visit  
> > [https://groups.google.com/d/msgid/elasticsearch/764D4229-6F7B-4435-92F3-3930F02601D9%40pilato.fr](https://groups.google.com/d/msgid/elasticsearch/764D4229-6F7B-4435-92F3-3930F02601D9%40pilato.fr)  
> > [https://groups.google.com/d/msgid/elasticsearch/764D4229-6F7B-4435-92F3-3930F02601D9%40pilato.fr?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/764D4229-6F7B-4435-92F3-3930F02601D9%40pilato.fr?utm_medium=email&utm_source=footer)  
> > .
> > 
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAL2m5Fdf7h6aS5wuadXk\_4epoK4yVSqB3107iY7oj6b49tkpJA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAL2m5Fdf7h6aS5wuadXk_4epoK4yVSqB3107iY7oj6b49tkpJA%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [February 2, 2015, 10:34am UTC](https://discuss.elastic.co/t/elastic-search-api-heavy-coupling-design/21920/5 "2015-02-02T10:34:34Z")

</div>

This should work AFAIK.

--  
David Pilato | Technical Advocate | [Elasticsearch.com](http://Elasticsearch.com)  
@dadoonet [https://twitter.com/dadoonet](https://twitter.com/dadoonet) | @elasticsearchfr [https://twitter.com/elasticsearchfr](https://twitter.com/elasticsearchfr) | @scrutmydocs [https://twitter.com/scrutmydocs](https://twitter.com/scrutmydocs)

> Le 2 févr. 2015 à 10:04, Amaury Fages [afages.dx@gmail.com](mailto:afages.dx@gmail.com) a écrit :
> 
> I have more information :  
> Version A is 1.1.2 as said before and target of B is 1.4 or 1.5.
> 
> Can you confirm the compatibility ?
> 
> 2015-01-30 17:32 GMT+01:00 Amaury Fages \<[afages.dx@gmail.com](mailto:afages.dx@gmail.com) [mailto:afages.dx@gmail.com](mailto:afages.dx@gmail.com)\>:  
> Thank you for answering.
> 
> Version A is 1.1.2 and B should be above soon or late. The integration team had a problem with A already upgrading the server but if from the 1.0 there "should not" be any dependency problem, I should maybe dig the problems they had exactly.
> 
> 2015-01-30 17:18 GMT+01:00 David Pilato \<[david@pilato.fr](mailto:david@pilato.fr) [mailto:david@pilato.fr](mailto:david@pilato.fr)\>:  
> What is your version A?  
> And version B?
> 
> Asking that because having different elasticsearch versions should work starting elasticsearch 1.0.  
> This does not apply to Java versions that need to be consistent.
> 
> --  
> David Pilato | Technical Advocate | [Elasticsearch.com](http://Elasticsearch.com) [http://elasticsearch.com/](http://elasticsearch.com/)  
> @dadoonet [https://twitter.com/dadoonet](https://twitter.com/dadoonet) | @elasticsearchfr [https://twitter.com/elasticsearchfr](https://twitter.com/elasticsearchfr) | @scrutmydocs [https://twitter.com/scrutmydocs](https://twitter.com/scrutmydocs)
> 
> > Le 30 janv. 2015 à 15:42, Amaury Fages \<[afages.dx@gmail.com](mailto:afages.dx@gmail.com) [mailto:afages.dx@gmail.com](mailto:afages.dx@gmail.com)\> a écrit :
> > 
> > Hello everyone,
> > 
> > My customer is currently facing a versioning problem. We have an application 'A' that depends (Maven) of Elasticsearch API, which communicates by TransportClient with centralized Elasticsearch Server 'B'.
> > 
> > The problem is : when we upgrades 'B', we need to upgrade the Maven dependency in application 'A', which is not a desired coupling design in the long term. I guess this is a common problem for many companies that you should be aware of already.
> > 
> > I saw some topics that said ES promised to leverage this design by avoiding being version dependant in a future API version. Right now, we are aiming either to :
> > 
> > 1. Wait for a solution from ES (in a reasonable time)
> > 2. Migrate completely to a full REST architecture bypassing the API
> > 
> > I hope you can address the 1) before thinking about the 2). What can you say about this problem and how could/would you solution it ?
> > 
> > Best regards,
> > 
> > Amaury FAGES.
> > 
> > --  
> > You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
> > To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com) [mailto:elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> > To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/b2e13fe4-1da4-4a76-8b03-4c0e553cd887%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/b2e13fe4-1da4-4a76-8b03-4c0e553cd887%40googlegroups.com) [https://groups.google.com/d/msgid/elasticsearch/b2e13fe4-1da4-4a76-8b03-4c0e553cd887%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/b2e13fe4-1da4-4a76-8b03-4c0e553cd887%40googlegroups.com?utm_medium=email&utm_source=footer).  
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout) [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> 
> --  
> You received this message because you are subscribed to a topic in the Google Groups "elasticsearch" group.  
> To unsubscribe from this topic, visit [https://groups.google.com/d/topic/elasticsearch/hiOsFiPaZnY/unsubscribe](https://groups.google.com/d/topic/elasticsearch/hiOsFiPaZnY/unsubscribe) [https://groups.google.com/d/topic/elasticsearch/hiOsFiPaZnY/unsubscribe](https://groups.google.com/d/topic/elasticsearch/hiOsFiPaZnY/unsubscribe).  
> To unsubscribe from this group and all its topics, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com) [mailto:elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/764D4229-6F7B-4435-92F3-3930F02601D9%40pilato.fr](https://groups.google.com/d/msgid/elasticsearch/764D4229-6F7B-4435-92F3-3930F02601D9%40pilato.fr) [https://groups.google.com/d/msgid/elasticsearch/764D4229-6F7B-4435-92F3-3930F02601D9%40pilato.fr?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/764D4229-6F7B-4435-92F3-3930F02601D9%40pilato.fr?utm_medium=email&utm_source=footer).
> 
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout) [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> 
> --  
> You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com) [mailto:elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAL2m5Fdf7h6aS5wuadXk\_4epoK4yVSqB3107iY7oj6b49tkpJA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAL2m5Fdf7h6aS5wuadXk_4epoK4yVSqB3107iY7oj6b49tkpJA%40mail.gmail.com) [https://groups.google.com/d/msgid/elasticsearch/CAL2m5Fdf7h6aS5wuadXk\_4epoK4yVSqB3107iY7oj6b49tkpJA%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAL2m5Fdf7h6aS5wuadXk_4epoK4yVSqB3107iY7oj6b49tkpJA%40mail.gmail.com?utm_medium=email&utm_source=footer).  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout) [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/1A877114-6336-4379-9A50-EEBC0457A588%40pilato.fr](https://groups.google.com/d/msgid/elasticsearch/1A877114-6336-4379-9A50-EEBC0457A588%40pilato.fr).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Amaury\_Fages](https://avatars.discourse-cdn.com/v4/letter/a/0ea827/32.png) [@Amaury\_Fages](https://discuss.elastic.co/u/Amaury_Fages)\
**Post date:** [February 5, 2015, 10:43am UTC](https://discuss.elastic.co/t/elastic-search-api-heavy-coupling-design/21920/6 "2015-02-05T10:43:17Z")

</div>

Ok, I tried locally with my own ES server 1.4.2 and I didn't notice any  
problem. We are investigating the team that encountered some problems and  
are waiting for their returns. Hope it doesn't have any link with ES  
versioning.

2015-02-02 11:34 GMT+01:00 David Pilato [david@pilato.fr](mailto:david@pilato.fr):

> This should work AFAIK.
> 
> --  
> _David Pilato_ | _Technical Advocate_ | _[Elasticsearch.com](http://Elasticsearch.com)  
> [http://Elasticsearch.com](http://Elasticsearch.com)_  
> @dadoonet [https://twitter.com/dadoonet](https://twitter.com/dadoonet) | @elasticsearchfr  
> [https://twitter.com/elasticsearchfr](https://twitter.com/elasticsearchfr) | @scrutmydocs  
> [https://twitter.com/scrutmydocs](https://twitter.com/scrutmydocs)
> 
> Le 2 févr. 2015 à 10:04, Amaury Fages [afages.dx@gmail.com](mailto:afages.dx@gmail.com) a écrit :
> 
> I have more information :  
> Version A is 1.1.2 as said before and target of B is 1.4 or 1.5.
> 
> Can you confirm the compatibility ?
> 
> 2015-01-30 17:32 GMT+01:00 Amaury Fages [afages.dx@gmail.com](mailto:afages.dx@gmail.com):
> 
> > Thank you for answering.
> > 
> > Version A is 1.1.2 and B should be above soon or late. The integration  
> > team had a problem with A already upgrading the server but if from the 1.0  
> > there "should not" be any dependency problem, I should maybe dig the  
> > problems they had exactly.
> > 
> > 2015-01-30 17:18 GMT+01:00 David Pilato [david@pilato.fr](mailto:david@pilato.fr):
> > 
> > > What is your version A?  
> > > And version B?
> > > 
> > > Asking that because having different elasticsearch versions should work  
> > > starting elasticsearch 1.0.  
> > > This does not apply to Java versions that need to be consistent.
> > > 
> > > --  
> > > _David Pilato_ | _Technical Advocate_ | _[Elasticsearch.com](http://Elasticsearch.com)  
> > > [http://elasticsearch.com/](http://elasticsearch.com/)_  
> > > @dadoonet [https://twitter.com/dadoonet](https://twitter.com/dadoonet) | @elasticsearchfr  
> > > [https://twitter.com/elasticsearchfr](https://twitter.com/elasticsearchfr) | @scrutmydocs  
> > > [https://twitter.com/scrutmydocs](https://twitter.com/scrutmydocs)
> > > 
> > > Le 30 janv. 2015 à 15:42, Amaury Fages [afages.dx@gmail.com](mailto:afages.dx@gmail.com) a écrit :
> > > 
> > > Hello everyone,
> > > 
> > > My customer is currently facing a versioning problem. We have an  
> > > application 'A' that depends (Maven) of Elasticsearch API, which  
> > > communicates by TransportClient with centralized Elasticsearch Server 'B'.
> > > 
> > > The problem is : when we upgrades 'B', we need to upgrade the Maven  
> > > dependency in application 'A', which is not a desired coupling design in  
> > > the long term. I guess this is a common problem for many companies that you  
> > > should be aware of already.
> > > 
> > > I saw some topics that said ES promised to leverage this design by  
> > > avoiding being version dependant in a future API version. Right now, we are  
> > > aiming either to :
> > > 
> > > 1. Wait for a solution from ES (in a reasonable time)
> > > 2. Migrate completely to a full REST architecture bypassing the API
> > > 
> > > I hope you can address the 1) before thinking about the 2). What can you  
> > > say about this problem and how could/would you solution it ?
> > > 
> > > Best regards,
> > > 
> > > Amaury FAGES.
> > > 
> > > --  
> > > You received this message because you are subscribed to the Google  
> > > Groups "elasticsearch" group.  
> > > To unsubscribe from this group and stop receiving emails from it, send  
> > > an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> > > To view this discussion on the web visit  
> > > [https://groups.google.com/d/msgid/elasticsearch/b2e13fe4-1da4-4a76-8b03-4c0e553cd887%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/b2e13fe4-1da4-4a76-8b03-4c0e553cd887%40googlegroups.com)  
> > > [https://groups.google.com/d/msgid/elasticsearch/b2e13fe4-1da4-4a76-8b03-4c0e553cd887%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/b2e13fe4-1da4-4a76-8b03-4c0e553cd887%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > > .  
> > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > 
> > > --  
> > > You received this message because you are subscribed to a topic in the  
> > > Google Groups "elasticsearch" group.  
> > > To unsubscribe from this topic, visit  
> > > [https://groups.google.com/d/topic/elasticsearch/hiOsFiPaZnY/unsubscribe](https://groups.google.com/d/topic/elasticsearch/hiOsFiPaZnY/unsubscribe).  
> > > To unsubscribe from this group and all its topics, send an email to  
> > > [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> > > To view this discussion on the web visit  
> > > [https://groups.google.com/d/msgid/elasticsearch/764D4229-6F7B-4435-92F3-3930F02601D9%40pilato.fr](https://groups.google.com/d/msgid/elasticsearch/764D4229-6F7B-4435-92F3-3930F02601D9%40pilato.fr)  
> > > [https://groups.google.com/d/msgid/elasticsearch/764D4229-6F7B-4435-92F3-3930F02601D9%40pilato.fr?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/764D4229-6F7B-4435-92F3-3930F02601D9%40pilato.fr?utm_medium=email&utm_source=footer)  
> > > .
> > > 
> > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/CAL2m5Fdf7h6aS5wuadXk\_4epoK4yVSqB3107iY7oj6b49tkpJA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAL2m5Fdf7h6aS5wuadXk_4epoK4yVSqB3107iY7oj6b49tkpJA%40mail.gmail.com)  
> [https://groups.google.com/d/msgid/elasticsearch/CAL2m5Fdf7h6aS5wuadXk\_4epoK4yVSqB3107iY7oj6b49tkpJA%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAL2m5Fdf7h6aS5wuadXk_4epoK4yVSqB3107iY7oj6b49tkpJA%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> 
> --  
> You received this message because you are subscribed to a topic in the  
> Google Groups "elasticsearch" group.  
> To unsubscribe from this topic, visit  
> [https://groups.google.com/d/topic/elasticsearch/hiOsFiPaZnY/unsubscribe](https://groups.google.com/d/topic/elasticsearch/hiOsFiPaZnY/unsubscribe).  
> To unsubscribe from this group and all its topics, send an email to  
> [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/1A877114-6336-4379-9A50-EEBC0457A588%40pilato.fr](https://groups.google.com/d/msgid/elasticsearch/1A877114-6336-4379-9A50-EEBC0457A588%40pilato.fr)  
> [https://groups.google.com/d/msgid/elasticsearch/1A877114-6336-4379-9A50-EEBC0457A588%40pilato.fr?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/1A877114-6336-4379-9A50-EEBC0457A588%40pilato.fr?utm_medium=email&utm_source=footer)  
> .
> 
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAL2m5Fff%2B0X5y62CtBB5JAdGi84iKDJUz6LuoCkO8Cj1m0NsAg%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAL2m5Fff%2B0X5y62CtBB5JAdGi84iKDJUz6LuoCkO8Cj1m0NsAg%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 12:34am UTC](https://discuss.elastic.co/t/elastic-search-api-heavy-coupling-design/21920/7 "2017-07-06T00:34:50Z")

</div>


