This site is archived.

Apache Solr Search Mastery

Code & Development


Additional Presenters:  Robert Douglass


Code & Development


Intermediate | Expert



Apache Solr Search Mastery

Day:  Wednesday, 25. august 2010
Time:  13:30-14:30
45 minutes (+15 minutes Q&A)



This session is for those who are excited by the great power of Apache Solr search for Drupal and want to take things even further. Do you want take complete control over your search interface and offer more than the default features? Have you ever wondered what it takes to add data to your search index? Curious about defining facets, custom sorting, or making cool new widgets for filtering and faceting? Join us for a technical deep dive into the world of Solr search.

The general topics of this presentation will overlap with those covered at Drupalcon SF for the Drupal 6 version, but we will focus on use of the API as found in the Drupal 7 version.

Introducing the Solr index

  • Learn about Solr fields, and how to map Drupal data onto them
  • See how to add data to the search index
  • Execute a search in PHP code and use the results

Using the API for custom search paths and interfaces

  • How to use the prepare and alter hooks for the query object, and why they differ.
  • Make use facing changes, or add filters that are transparent to the user.

Build custom facets based on node fields

  • What comes OOTB
  • Hooks to add facets for additional field types


cool, this is a good

3. July 2010 - 9:56

cool, this is a good opportunity to enhance search, vote

Faceted search here we come -

25. August 2010 - 0:34

Faceted search here we come - and no Endecca in sight!!!

A pdf of the slides is at

25. August 2010 - 18:02

A pdf of the slides is at as well as material from SF.

I updated the blog post, so

26. August 2010 - 14:00

I updated the blog post, so the PDF links should be visible now.

Posted a new Solr coding

31. August 2010 - 4:06

Posted a new Solr coding example around creating custom facets via facet queries: