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
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.
http://www.elasticsearch.org/guide/en/elasticsearch/client/java-api/current/client.html
On Friday, May 9, 2014 7:43:56
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] https://github.com/elasticsearch/elasticsearch-transport-wares
Thanks,
Matt