[ Content | View menu ]

Batch Reindexing for Drupal + Solr

Written on May 13, 2009 by Mark A. Matienzo

Crossposted to thesecretmirror.com. Sorry for any duplication!

Hey, do you use Drupal on a site with several thousand nodes? Do you also use the Apache Solr Integration module? If you’re like me, you’ve probably needed to reindex your site but couldn’t be bothered to wait for those pesky cron runs to finish – in fact, that’s what led me to file a feature request on the module to begin with.

Well, fret no more, because thanks to me and Greg Kallenberg, my illustrious fellow Applications Developer at NYPL DGTL, you can finally use Drupal’s Batch API to reindex your site. The module is available as an attachment from that same issue node on drupal.org. Nota bene: this is a really rough module, with code swiped pretty shamelessly from the Example Use of the Batch API page on drupal.org. It works, though, and it works well enough as we tear stuff down and build it back up over and over again.

Filed in: drupal.

3 Comments

Write comment - TrackBack - RSS Comments

  1. Pingback from indicommons» Blog Archive » Carnival of the Commons - 1984, lightcycles and more:

    [...] applications developers at the New York Public Library provide batch reindexing for Drupal + Solr. Also, an update to Infomaki is released. That’s not all … DigitalNZ and Brooklyn [...]

    May 15, 2009 @ 7:15 am
  2. Comment by Pedro Markun:

    Hi there,

    I’ve a small drupal workshop in Brazil, focused on creating collaborative enviroments for NGOs and other small business and also have a project called LivroLivre wich is loosely based on the Bookcrossing movement but with a social twist. I’m going to NY in the next week, to attend the OpenVideo Conference and would love to visit you guys there and chat about public information and open data.

    Couldn’t find any contact information in the blog… so I’m sending you guys this comment =)

    Thx,
    Pedro Markun

    June 15, 2009 @ 7:09 pm
  3. Trackback from ilaginohizip:
    September 27, 2009 @ 12:45 am
Write comment