Pacific Northwest Drupal Summit 2012

All the drops gather here.
Seattle, October 20-21, 2012

Customizing the Apache Solr search experience

Speaker(s): 
Track: 
Development and Code
Experience Level: 
Intermediate

Apache Solr, a standalone search server that provides high performance full-text and faceted search, has quickly become the standard choice when building effective search interfaces in Drupal. Solr is used to power search and navigation features with millions of documents on sites like Instagram, eHarmony, Netflix, Zappos, Instructables, and reddit. It's powerful and it works well with Drupal, but it really shines with some customizations.

In the Drupal community, there are two main modules used to integrate Apache Solr into a Drupal 7 site: Apache Solr Search Integration and Search API with Search API Solr Search. In this session we'll begin by comapring the differing aproaches of these two modules with an eye towards flexibility for customization.

To take full advantage of the extensive features of Solr, some custom code is essential. The bulk of this session will focus on code examples that show how to define custom facets, customize how content/entities are indexed, alter queries, adjust relevancy factors, and spruce up the search results with summary data, view modes, and other improvements.