Skip to content

kamilc/spree-solr-search

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Solr Search

Installation

  1. add gem 'acts_as_solr_reloaded', :git => 'git://github.com/jumph4x/acts_as_solr_reloaded.git' to your Gemfile (the canonical repo at http://github.com/dcrec1/acts_as_solr_reloaded suffered the regression again)
  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 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 perform the indexing:

rake solr:reindex BATCH=500

To start Solr demo-server:

rake solr:start SOLR_PATH="/home/roman/www/jetty-solr"

To stop Solr demo-server:

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.

P.S. For development recommended use jetty-solr server.

About

Search for Spree via Solr

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 99.6%
  • CoffeeScript 0.4%