简体   繁体   中英

Apache Solr for production

I have chosen Apache Lucene with Solr to learn about advanced search indexing for my web applications but there seems to be a gap in configuration between versions Solr 4 and Solr 5.

Most online material and books get you to setup Apache Tomcat to run the Solr service for version 4. Whereas version 5 tells you to use it using its built-in service.

My web applications are built on the LAMP stack and I would like in the future to use Solr in production and I am wondering what version/configuration is best practice?

The latest stable version of Solr is currently 5.4.0. So, that is the version that you should be using unless there is some other constraint that requires you to use an older version.

By default Solr runs in Jetty, but you can also run in in various other servlet containers. Here is documentation for running it inside Tomcat: https://wiki.apache.org/solr/SolrTomcat

As far as having a LAMP stack, that shouldn't really have much to do with Solr. You should have a webapp that is accessing Solr and is sitting behind an web server (in your case Apache httpd).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM