Look at the wares plugin. It enables building an ES node as a war that can be deployed into a webapp container like Jetty, Tomcat, Glassfish, or Wildfly, with executing a wrapper REST service, for example with Jersey.
https://github.com/elasticsearch/elasticsearch-transport-wares I submitted some useful addings for ready-to-deploy https://github.com/elasticsearch/elasticsearch-transport-wares/pull/8 Of course you have to modify that for your favorite war deploy environment and solution. Jörg -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAKdsXoGxQ6TbFsA5rAJAwFScqmoqcqCcRYmEPFtsFZycq5D4pw%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.
