NOTE: This project is no longer maintened.

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



NOTE: This project is no longer maintened.

acts_as_solr Rails plugin

此插件将全文搜索功能和Apache的 Solr 的许多其他漂亮功能添加到任何Rails模型。 它是基于Erik Hatcher的第一稿。

Current Release

目前的稳定版本为v0.9,于06-18-2007发布。

Changes

请参阅CHANGE_LOG

Installation

要求

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:初稿 Thiago Jackiw:当前开发人员(tjackiw at gmail dot com)

Release Information

根据麻省理工学院的许可证发布。

More info

http://acts-as-solr.railsfreaks.com




相关问题推荐