Koumbit.org

Pour un internet libre et solidaire

Tableau des compatibilités des versions de Tomcat, Apache Solr, and Drupal

Apache Solr version compatibility chart

The sysadmins here were doing some software upgrades the other day and asked me which versions of Tomcat and Apache Solr they should install on our shared Drupal hosting servers. The answer is a little complex, so I finally just drew them a diagram.

Note that in Drupal 7 there are two completely unrelated modules which can talk to Apache Solr: Apache Solr Search Integration, which has existed since Drupal 6 and is primarily developed by Acquia, and Search API Solr search, which uses Drupal 7's Search API family of modules. Both have their advantages and disadvantages, but overall the Search API approach provides more flexibility because it provides a standardized way for module authors to customize the results from several different search backends. With Search API you can also switch search engines with relative ease, should you ever choose to do so.

Here's the chart (click for a larger, more readable version):

Chart

In short, any version of Tomcat is fine (but read this note if you're using Tomcat 7). Apache Solr 1.4.x can be used with any of the Drupal modules which provide Solr integration, but only the Drupal 7 modules support Apache Solr 3.x, and Search API Solr search currently requires this patch if you want to do that. Displaying search results using Views is easy in Drupal 7 but requires lots of unsupported, deprecated modules in Drupal 6. And don't forget to update your schema.xml and solrconfig.xml files on your Tomcat server when you upgrade your Drupal Solr modules or switch between Solr 1.4.x and Solr 3.x!

I didn't include any notes on indexing attached files using Tika, but when running Tika as a stand-alone Java executable on the web server you should be able to use any version you like. I had trouble getting Tika to run on the Tomcat server side with Tomcat 5.5 or 6 using Solr 1.4, but a co-worker has a recent version running fine with Tomcat 7 and Solr 3.x.

Voir http://www.koumbit.org/en/articles/version-compatibility-chart-tomcat-ap...

Permanence téléphonique

☏ +1 514 907 9494
Lun: 10h à 12h et 13h à 16h
Mar: 10h à 12h
Mer: 10h à 12h et 13h à 16h
Jeu: 10h à 12h
Mon: 10am to 12pm and 1pm to 4pm
Tue: 10am to 12pm
Wed: 10am to 12pm and 1pm to 4pm
Thu: 10am to 12pm

Venez nous voir!

1883, rue Atateken,
Montréal (Québec) H2L 3L7, Canada
Veuillez noter que nos bureaux n'ont pas de stationnement attitré.
1883 Atateken Street,
Montreal, Quebec, H2L 3L7, Canada
Please note that you'll need to find on-street parking.

Écrivez-nous

Informations générales

Support technique

Pour une demande de devis, voir le formulaire à la page contact.

Nos clefs PGP

Politique de confidentialité

General inquiries

Technical support

For a free estimate, see the form on our contact page.

Our PGP keys

Privacy Policy

Suivez-nous

ktweb_menu_social

Mouton