pollingj / alchemy-ferret

Ferret search for Alchemy CMS 3.0

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Alchemy CMS 3.0 Ferret Search

This gem provides the Ferret full text search, that was extracted from Alchemy 3.0

Installation

Add this lines to your application's Gemfile:

gem 'alchemy-ferret'
gem 'acts_as_ferret', github: 'tvdeyen/acts_as_ferret', branch: 'rails-4'

*) Note about acts_as_ferret version

ActsAsFerret is not yet Rails 4 compatible, so you need to use a Rails 4 compatible version.

And then execute:

$ bundle

Usage

You don't have to do anything.

For best performance and stability install a crontab that reindexes ferrets search index periodly.

Example:

cd ~/html/alchemy/current && RAILS_ENV=production rake ferret:rebuild_index

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

About

Ferret search for Alchemy CMS 3.0

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Ruby 89.0%Language:HTML 9.2%Language:JavaScript 0.9%Language:CSS 0.8%