From a3c008d72b00df3357ca64cd4d2ae13aa84bce75 Mon Sep 17 00:00:00 2001 From: Christoph Haas Date: Wed, 20 Nov 2013 00:08:37 +0100 Subject: [PATCH] Added "tire" as Elasticsearch should become the search engine of choice --- Gemfile | 9 +++++++++ Gemfile.lock | 5 +++++ 2 files changed, 14 insertions(+) diff --git a/Gemfile b/Gemfile index 41c54c0..3ffbbc2 100644 --- a/Gemfile +++ b/Gemfile @@ -67,3 +67,12 @@ gem 'kaminari' # Lightbox image viewer for full-sized images gem 'fancybox2-rails', '~> 0.2.4' + +# Full-text search… texticle is nowadays called textacular… and it's very inflexible +#gem 'textacular', require: 'textacular/rails' + +# Trying pg_search for full-text search… too slow with ranking… screw PostgreSQL +#gem 'pg_search' + +# Let's use Elasticsearch +gem 'tire' diff --git a/Gemfile.lock b/Gemfile.lock index f9dfb72..2aecf0a 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -79,6 +79,10 @@ GEM minitest (4.7.5) multi_json (1.8.2) pg (0.17.0) + pg_search (0.7.0) + activerecord (>= 3.1) + activesupport (>= 3.1) + arel polyglot (0.3.3) rack (1.5.2) rack-contrib (1.1.0) @@ -149,6 +153,7 @@ DEPENDENCIES kaminari meta_request pg + pg_search rails (= 4.0.0) sass-rails (~> 4.0.0) sdoc