steerCMSSearchPlugin

This is a very simple search mechanism based on a simple stemmer script - simple being the operative word. It isn't intended on competing with something like Lucene.

Adding the Behavior

Activating this plugin is a simple task of adding the following code to your Propel objects class:

$search_columns = array('title' => 3, 'excerpt' => 2, 'body' => 1);

sfPropelBehavior::add('steerCMSBlogPost', array('steerCMSSearchBehavior' => array('columns' => $search_columns)));

Once that is in place, your object will be added for searching on each save - on delete, they will be removed from the search table.