public
Fork of railsfreaks/acts_as_solr
Description: This plugin adds full text search capabilities and many other nifty features from Apache‘s Solr to any Rails model.
Homepage: http://acts-as-solr.railsfreaks.com
Clone URL: git://github.com/jgp/acts_as_solr.git
name age message
file .DS_Store Loading commit data...
file .gitignore
file CHANGE_LOG
file LICENSE Sat May 03 15:39:08 -0700 2008 git import of acts_as_solr [Thiago Jackiw]
file README.markdown Sat May 03 15:59:53 -0700 2008 Renaming README to README.markdown [Thiago Jackiw]
file Rakefile
file TESTING_THE_PLUGIN Sat May 03 15:39:08 -0700 2008 git import of acts_as_solr [Thiago Jackiw]
directory config/ Sat May 03 15:39:08 -0700 2008 git import of acts_as_solr [Thiago Jackiw]
file init.rb Sat May 03 15:39:08 -0700 2008 git import of acts_as_solr [Thiago Jackiw]
file install.rb Sat May 03 15:39:08 -0700 2008 git import of acts_as_solr [Thiago Jackiw]
directory lib/
file schema.xml Sat May 03 15:39:08 -0700 2008 git import of acts_as_solr [Thiago Jackiw]
directory solr/
directory spec/
directory test/

acts_as_solr Rails plugin

This plugin adds full text search capabilities and many other nifty features from Apache's Solr to any Rails model. It was based on the first draft by Erik Hatcher.

Current Release

The current stable release is v0.9 and was released on 06-18-2007.

Changes

Please refer to the CHANGE_LOG

Installation

Requirements

Basic Usage


# Just include the line below to any of your ActiveRecord models:
  acts_as_solr

# Or if you want, you can specify only the fields that should be indexed:
  acts_as_solr :fields => [:name, :author]

# Then to find instances of your model, just do:
  Model.find_by_solr(query) #query is a string representing your query

# Please see ActsAsSolr::ActsMethods for a complete info

Authors ====== Erik Hatcher: First draft
Thiago Jackiw: Current developer (tjackiw at gmail dot com) Release Information ====== Released under the MIT license. More info ====== [http://acts-as-solr.railsfreaks.com](http://acts-as-solr.railsfreaks.com)