What are some Servlet Container pros and cons for a Solr installation?

Posted by danieltalsky on Stack Overflow See other posts from Stack Overflow or by danieltalsky
Published on 2010-12-23T22:10:24Z Indexed on 2010/12/23 22:54 UTC
Read the original article Hit count: 223

Filed under:
|
|
|

The SolrInstall wiki page lists seven different server / Servlet Containers compatible with Solr:

  • Tomcat
  • Jetty
  • Resin
  • JBoss
  • WebSphere
  • Weblogic
  • Glassfish

I'm sure that "best" is subjective, so I'll just say my criteria are: easiest to set up, best for search performance with a smallish, infrequently-updated dataset, and with the fewest number of gotchas.

Jetty and Tomcat both have apt-get solr packages, so they're clearly the frontrunners for some. Jetty is used in the demo install, but there's some notes that Jetty has some difficulties handling Unicode in some cases. Tomcat is a common choice but my understanding is that it's not as lightweight and has a lot of features not needed by Solr.

Is it worth considering any of the others? Are there some important pro's and cons I should be aware of?

© Stack Overflow or respective owner

Related posts about tomcat

Related posts about jboss