Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Search for Spree via Sphinx
Ruby

This branch is 31 commits ahead of romul:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
app
config/locales
lib
script
spec
.gitignore
Gemfile
README.md
Rakefile
Versionfile
spree_sphinx_search.gemspec

README.md

Sphinx Search

This gem extends beautiful Spree e-commerce platform with a power of the Sphinx search engine via Thinking Sphinx.

Installation

Install the latest available version of Sphinx. If you're working on Mac, it can be done with homebrew:

brew install sphinx

Install Aspell and at least one Aspell dictionary, which suits to a language you are using in your project.

Mac users:
  brew update
  brew install aspell --lang=en,ru

Ubuntu:
  sudo apt-get install aspell libaspell-dev aspell-en

Include this gem to your Gemfile:

gem 'spree_sphinx_search', github: 'evrone/spree-sphinx-search'

Copy config/sphinx.yml to RAILS_ROOT/config/sphinx.yml

Usage

To perform the indexing:

rake ts:index

To run Sphinx:

rake ts:start
Something went wrong with that request. Please try again.