# ElasticSearch vs Solr integration with Tomcat6

**URL:** <https://discuss.elastic.co/t/elasticsearch-vs-solr-integration-with-tomcat6/17431>\
**Category:** Elasticsearch\
**Created:** [May 9, 2014, 12:43pm UTC](https://discuss.elastic.co/t/elasticsearch-vs-solr-integration-with-tomcat6/17431 "2014-05-09T12:43:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![benjelloun](https://avatars.discourse-cdn.com/v4/letter/b/9fc348/32.png) [@benjelloun](https://discuss.elastic.co/u/benjelloun)\
**Post date:** [May 9, 2014, 12:43pm UTC](https://discuss.elastic.co/t/elasticsearch-vs-solr-integration-with-tomcat6/17431/1 "2014-05-09T12:43:56Z")

</div>

Hello,

I need to compare the both solutions ElasticSearch and Solr, then choose  
one of them to integrate it on my webapp, so i'm using tomcat6 server and i  
installed/Configured Solr.war in my webapp without any probleme then i  
search to integrate ElasticSearch with tomcat i didn't find enough  
informations.  
so if some one know steps to do or know any other solution to my probleme,  
describe that step by step.  
thanks,

regards,  
Anass BENJELLOUN

--  
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/d8710fd0-3bdd-4e7c-adc2-0efadb9cfd55%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/d8710fd0-3bdd-4e7c-adc2-0efadb9cfd55%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![hari](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hari/32/1582_2.png) [@hari](https://discuss.elastic.co/u/hari)\
**Post date:** [May 9, 2014, 3:02pm UTC](https://discuss.elastic.co/t/elasticsearch-vs-solr-integration-with-tomcat6/17431/2 "2014-05-09T15:02:55Z")

</div>

unlike SOLR , elasticsearch does not require a Java container, however you  
can always instantiate ES in embedded mode within your J2EE application.  
more details available here.

> **[Elasticsearch Platform — Find real-time answers at scale](https://www.elastic.co)**
>
> Power insights and outcomes with the Elasticsearch Platform and AI. See into your data and find answers that matter with enterprise solutions designed to help you build, observe, and protect. Try Elasticsearch free today.

On Friday, May 9, 2014 7:43:56 AM UTC-5, anass benjelloun wrote:

> Hello,
> 
> I need to compare the both solutions Elasticsearch and Solr, then choose  
> one of them to integrate it on my webapp, so i'm using tomcat6 server and i  
> installed/Configured Solr.war in my webapp without any probleme then i  
> search to integrate Elasticsearch with tomcat i didn't find enough  
> informations.  
> so if some one know steps to do or know any other solution to my probleme,  
> describe that step by step.  
> thanks,
> 
> regards,  
> Anass BENJELLOUN

--  
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/7e785706-d2ee-4bb8-9609-8232d12842f2%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/7e785706-d2ee-4bb8-9609-8232d12842f2%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![mattweber](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mattweber/32/44940_2.png) [@mattweber](https://discuss.elastic.co/u/mattweber)\
**Post date:** [May 9, 2014, 4:33pm UTC](https://discuss.elastic.co/t/elasticsearch-vs-solr-integration-with-tomcat6/17431/3 "2014-05-09T16:33:46Z")

</div>

I would be best to manage elasticsearch outside of tomcat and use the java  
or rest api to communicate with ES from within your app. If you absolutely  
must run ES within tomcat, have a look at the wares transport[1].

[1] [GitHub - elastic/elasticsearch-transport-wares: Servlet transport for Elasticsearch](https://github.com/elasticsearch/elasticsearch-transport-wares)

Thanks,  
Matt Weber

On Fri, May 9, 2014 at 8:02 AM, Hariharan Vadivelu [hariinfo@gmail.com](mailto:hariinfo@gmail.com)wrote:

> unlike SOLR , elasticsearch does not require a Java container, however you  
> can always instantiate ES in embedded mode within your J2EE application.  
> more details available here.
> 
> [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/client/java-api/current/client.html)
> 
> On Friday, May 9, 2014 7:43:56 AM UTC-5, anass benjelloun wrote:
> 
> > Hello,
> > 
> > I need to compare the both solutions Elasticsearch and Solr, then choose  
> > one of them to integrate it on my webapp, so i'm using tomcat6 server and i  
> > installed/Configured Solr.war in my webapp without any probleme then i  
> > search to integrate Elasticsearch with tomcat i didn't find enough  
> > informations.  
> > so if some one know steps to do or know any other solution to my  
> > probleme, describe that step by step.  
> > thanks,
> > 
> > regards,  
> > Anass BENJELLOUN
> 
> --  
> 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/7e785706-d2ee-4bb8-9609-8232d12842f2%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/7e785706-d2ee-4bb8-9609-8232d12842f2%40googlegroups.com)[https://groups.google.com/d/msgid/elasticsearch/7e785706-d2ee-4bb8-9609-8232d12842f2%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/7e785706-d2ee-4bb8-9609-8232d12842f2%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 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/CAJ3KEoCthUummqv16MdgNiA%2BR5YzxUhhDRrzXTW89N8H6Jjx4A%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAJ3KEoCthUummqv16MdgNiA%2BR5YzxUhhDRrzXTW89N8H6Jjx4A%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:30am UTC](https://discuss.elastic.co/t/elasticsearch-vs-solr-integration-with-tomcat6/17431/4 "2017-07-06T01:30:29Z")

</div>


