Spree + Searchkick
- Full search (keyword, in_taxon)
- Taxons Aggregations (aggs)
- Search Autocomplete (Typeahead)
/bestroute, where best selling products are boosted in first page
Add searchkick and spree_searchkick to your Gemfile:
gem 'searchkick' gem 'spree_searchkick', github: 'ronzalo/spree_searchkick', branch: '3-1-stable'
Bundle your dependencies and run the installation generator:
bundle bundle exec rails g spree_searchkick:install
By default, only the
Spree::Product class is indexed and to control what data is indexed, override
Spree::Product#search_data method. Call
Spree::Product.reindex after changing this method.
To enable or disable taxons filters, go to taxonomy form and change
First bundle your dependencies, then run
rake will default to building the dummy app if it does not exist, then it will run specs. The dummy app can be regenerated by using
bundle bundle exec rake
When testing your applications integration with this extension you may use it's factories.
Simply add this require statement to your spec_helper:
Copyright (c) 2015 Gonzalo Moreno, released under the New BSD License