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 Thu Jul 31 07:24:48 -0700 2008 Replaced with nightly solr 31-07-08 [kalv]
file .gitignore Loading commit data...
file CHANGE_LOG Sat May 03 15:39:08 -0700 2008 git import of acts_as_solr [Thiago Jackiw]
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/ Fri Aug 01 07:03:57 -0700 2008 Queries are now mapped to solr fields beautifully [matthewrudy]
directory test/
README.markdown

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