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
matthewrudy (author)
Fri Aug 01 07:03:57 -0700 2008
commit  70fac32a48fd17e5d24fd96da5d2888ba029a531
tree    24069b4587e99bfd89018ab8d2c6cb71434c5a7d
parent  abb415521f4871ec25c56f8caf4ab8e7a6003e31
name age message
file .DS_Store Thu Jul 31 07:24:48 -0700 2008 Replaced with nightly solr 31-07-08 [kalv]
file .gitignore Wed Jul 30 08:21:24 -0700 2008 Merge branch 'master' of git@github.com:jgp/act... [tomw]
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 Loading commit data...
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/ Thu Jul 31 07:24:48 -0700 2008 Replaced with nightly solr 31-07-08 [kalv]
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