# Spring Elasticsearch vs Spring Data Elasticsearch:

**URL:** <https://discuss.elastic.co/t/spring-elasticsearch-vs-spring-data-elasticsearch/19577>\
**Category:** Elasticsearch\
**Created:** [September 2, 2014, 7:44pm UTC](https://discuss.elastic.co/t/spring-elasticsearch-vs-spring-data-elasticsearch/19577 "2014-09-02T19:44:41Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jinyuan\_Zhou](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jinyuan_zhou/32/90185_2.png) [@Jinyuan\_Zhou](https://discuss.elastic.co/u/Jinyuan_Zhou)\
**Post date:** [September 2, 2014, 7:44pm UTC](https://discuss.elastic.co/t/spring-elasticsearch-vs-spring-data-elasticsearch/19577/1 "2014-09-02T19:44:41Z")

</div>

Hi,  
I'm planning to use java native client to mainly to bulk index a lot of  
data. I see there are two project listed on the elasticsearch guide's  
integration page. one is a sub project of spring data at  
[https://github.com/spring-projects/spring-data-elasticsearch](https://github.com/spring-projects/spring-data-elasticsearch). One is a  
third party project at [https://github.com/dadoonet/spring-elasticsearch](https://github.com/dadoonet/spring-elasticsearch).  
Could someone shed some lights on pro and cons of choosing either of them?  
Thanks,  
Jack

--  
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/d9e696da-187e-44ef-8eab-d888d56dc9b4%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/d9e696da-187e-44ef-8eab-d888d56dc9b4%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:** [September 2, 2014, 7:56pm UTC](https://discuss.elastic.co/t/spring-elasticsearch-vs-spring-data-elasticsearch/19577/2 "2014-09-02T19:56:22Z")

</div>

As the second project author, I can say what it provides:

Automatic index/mapping/templates/aliases création when starting (as Hibernate does somehow).  
Access to a client (Transport/Node) - by annotation like @Inject Client client.  
Access to a Node

You can look at tests packages to see how it actually works.

What spring data project provides IMHO is an automatic query creation based on Interface naming conventions.

My plan is to try to merge my project into spring data project if it makes sense for users but sadly I did not manage to find time for doing this yet!

Would love to get feedback from other users! 🙂

## HTH

David 😉  
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 2 sept. 2014 à 21:44, Jinyuan Zhou [zhou.jinyuan@gmail.com](mailto:zhou.jinyuan@gmail.com) a écrit :

## Hi, I'm planning to use java native client to mainly to bulk index a lot of data. I see there are two project listed on the elasticsearch guide's integration page. one is a sub project of spring data at [https://github.com/spring-projects/spring-data-elasticsearch](https://github.com/spring-projects/spring-data-elasticsearch). One is a third party project at [https://github.com/dadoonet/spring-elasticsearch](https://github.com/dadoonet/spring-elasticsearch). Could someone shed some lights on pro and cons of choosing either of them? Thanks, Jack

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/d9e696da-187e-44ef-8eab-d888d56dc9b4%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/d9e696da-187e-44ef-8eab-d888d56dc9b4%40googlegroups.com).  
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/8F35123E-460D-41AE-976D-64ABF539D253%40pilato.fr](https://groups.google.com/d/msgid/elasticsearch/8F35123E-460D-41AE-976D-64ABF539D253%40pilato.fr).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Jinyuan\_Zhou](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jinyuan_zhou/32/90185_2.png) [@Jinyuan\_Zhou](https://discuss.elastic.co/u/Jinyuan_Zhou)\
**Post date:** [September 2, 2014, 8:02pm UTC](https://discuss.elastic.co/t/spring-elasticsearch-vs-spring-data-elasticsearch/19577/3 "2014-09-02T20:02:02Z")

</div>

Thanks David,  
I'll play with Spring Elasticsearch project first. I have used other Spring  
Data projects, it seems that I don't need all these feature for now,

Jinyuan (Jack) Zhou

On Tue, Sep 2, 2014 at 12:56 PM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:

> As the second project author, I can say what it provides:
> 
> Automatic index/mapping/templates/aliases création when starting (as  
> Hibernate does somehow).  
> Access to a client (Transport/Node) - by annotation like @Inject Client  
> client.  
> Access to a Node
> 
> You can look at tests packages to see how it actually works.
> 
> What spring data project provides IMHO is an automatic query creation  
> based on Interface naming conventions.
> 
> My plan is to try to merge my project into spring data project if it makes  
> sense for users but sadly I did not manage to find time for doing this yet!
> 
> Would love to get feedback from other users! 🙂
> 
> ## HTH
> 
> David 😉  
> Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> 
> Le 2 sept. 2014 à 21:44, Jinyuan Zhou [zhou.jinyuan@gmail.com](mailto:zhou.jinyuan@gmail.com) a écrit :
> 
> Hi,  
> I'm planning to use java native client to mainly to bulk index a lot of  
> data. I see there are two project listed on the elasticsearch guide's  
> integration page. one is a sub project of spring data at  
> [GitHub - spring-projects/spring-data-elasticsearch: Provide support to increase developer productivity in Java when using Elasticsearch. Uses familiar Spring concepts such as a template classes for core API usage and lightweight repository style data access.](https://github.com/spring-projects/spring-data-elasticsearch). One is a  
> third party project at [GitHub - dadoonet/spring-elasticsearch: Spring factories for elasticsearch](https://github.com/dadoonet/spring-elasticsearch).  
> Could someone shed some lights on pro and cons of choosing either of them?  
> Thanks,  
> Jack
> 
> --  
> 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/d9e696da-187e-44ef-8eab-d888d56dc9b4%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/d9e696da-187e-44ef-8eab-d888d56dc9b4%40googlegroups.com)  
> [https://groups.google.com/d/msgid/elasticsearch/d9e696da-187e-44ef-8eab-d888d56dc9b4%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/d9e696da-187e-44ef-8eab-d888d56dc9b4%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/joyNv\_1xzVg/unsubscribe](https://groups.google.com/d/topic/elasticsearch/joyNv_1xzVg/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/8F35123E-460D-41AE-976D-64ABF539D253%40pilato.fr](https://groups.google.com/d/msgid/elasticsearch/8F35123E-460D-41AE-976D-64ABF539D253%40pilato.fr)  
> [https://groups.google.com/d/msgid/elasticsearch/8F35123E-460D-41AE-976D-64ABF539D253%40pilato.fr?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/8F35123E-460D-41AE-976D-64ABF539D253%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/CANBTPCGm9-JdmoRHjoHU56vR3KiSGO1KdAt-goKqOpT2%3DZdBPg%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CANBTPCGm9-JdmoRHjoHU56vR3KiSGO1KdAt-goKqOpT2%3DZdBPg%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, 1:04am UTC](https://discuss.elastic.co/t/spring-elasticsearch-vs-spring-data-elasticsearch/19577/4 "2017-07-06T01:04:53Z")

</div>


