Search Extension in Ruby
I wanted to be able to provide a full text search capability for Radiant CMS websites. The Acts_as_Ferret plugin provides a convenient interface to the Ferret search engine library. Any Rails application is thereby enabled with Apache Lucene search capabilities. This site uses the AAF Search Extension.
Radiant ’s extensible design permits a developer to add new capabilities using the extension interface. The AAF Search extension extends the Radiant Page class to add acts_as_ferret fields for page contents and title. A new ActiveRecord searchable field is added to the Page class permitting any page to be included or excluded from the search index. The index is maintained automatically when a page is created, updated, or deleted. Source code and API docs are available.