Apache Solr Search Integration
Revolutionize your Drupal search experience
This module integrates Drupal with the Apache Solr search platform. Solr search can be used as a replacement for core content search and boasts both extra features and better performance. Among the extra features is the ability to have faceted search on facets ranging from content author to taxonomy to arbitrary CCK fields.
The module comes with schema.xml and solrconfig.xml files which must be used in your Solr installation in order to get the module to work correctly.
This module depends on the search framework in core. However, you may not want the core searches and only want Solr search. If that is the case, you want to use the Core Searches module in tandem with this module.
If you're looking for Solr PHP integration, this is possibly the best option available. This is also one of the best ways to achieve faceted search. In addition, since you can shift the load of searches from PHP+SQL to a totally separate server, using Solr can help to scale Drupal for large, high-traffic sites.
See the documentation in the handbook as well as the included README.txt for information on requirements and installation.
Sites using ApacheSolr
For longer list, see the documentation. The most interesting example, however, is this very site: Drupal.org.
Related Projects
- ApacheSolr Views integration
- Multisite search
- Local Solr (geospatial search)
- ApacheSolr Attachments
- ApacheSolr Ubercart
- Webmail Plus
- Exhibit
- Project (D6 version)
- Solr Service
- Apache Solr Stats
- Apache Solr autocomplete
- Apache Solr AJAX
- Apache Solr Biblio
- Simple Geo
- Node displays
- Apache Solr Multilingual
- Assistant
- Assistant ref
- Assistant search
- CiviCRM integration
Documentation and videos
- Drupal.org handbook section
- HowTo video from Got Drupal, focusing on Acquia Search
- Robert's Apache Solr talk at DrupalCamp Stockholm
- Using hook_apachesolr_cck_field_mappings()
- http://acquia.com/blog/apache-solr-changes-way-you-build-sites
- Slides from Robert's ApacheSolr presentation at Do it With Drupal.
- http://drupal.org/node/326265
- http://robshouse.net/blog-post/fosdem-2008-drupal-apachesolr-module-0
- http://www.archive.org/details/drupal_search
- Solr and reverse proxy with Varnish
- Views 3 + Apache Solr
- Random results with Apache Solr
- Installing on CentOS
- Load balancing with haproxy
About the version numbers
- DRUPAL-5--2: Maintained. A backport of the DRUPAL-6--1 branch. Recommended for people starting out on Drupal 5.
- DRUPAL-6--1: Maintained. The version shipped with Acquia Drupal. Best tested version available.
- DRUPAL-6--2: Maintained. The development branch for Drupal 6 with new features. Experimental and unstable. Recommended for people doing actual custom development with ApacheSolr.
Commercial services and support
- Acquia is sponsoring maintenance of this module and offers Solr as a service.
#D7CX: Apache Solr Search Integration will have a full Drupal 7 release on the day that Drupal 7 is released.
