Search for Spree via Solr
Ruby CoffeeScript
Latest commit 1fe991b Dec 5, 2012 1 @romul Updated Versionfile
Permalink
Failed to load latest commit information.
app
config
lib Full-text search is completely separated from the database search. Be… Dec 4, 2012
.gitignore Initial commit Jan 29, 2010
README.md
Rakefile
VERSION removed rc suffix Dec 1, 2012
Versionfile Updated Versionfile Dec 5, 2012
spree_solr_search.gemspec

README.md

Solr Search

Installation

  1. add gem 'acts_as_solr_reloaded', :git => 'git://github.com/dcrec1/acts_as_solr_reloaded.git'
  2. Add gem "spree_solr_search", :git => 'git://github.com/romul/spree-solr-search.git' to your Gemfile
  3. Run bundle install
  4. Run rails g spree_solr_search:install

Master branch 1.0.x - 1.2.x compatible.
If you want use this extension with Spree 0.10.x or 0.11.x, then you should use spree-0-11-stable branch.

Usage

To download, set up and start Solr 3.6:

bundle exec rake solr:download
bundle exec rake solr:start

To perform the indexing:

bundle exec rake solr:reindex BATCH=500

To stop Solr demo-server:

bundle exec rake solr:stop

To configure production Solr server:

edit RAILS_ROOT/config/solr.yml

Running rake tasks in background

Read instructions how to run rake tasks in background.