From a1ef7028fd4db60db0066db1752b714a3c1daabf Mon Sep 17 00:00:00 2001 From: ruby Date: Tue, 9 May 2017 15:10:40 +0200 Subject: [PATCH] local solr sunspot --- Gemfile | 4 ++-- config/sunspot.yml | 9 +++++++-- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/Gemfile b/Gemfile index a8dc2a8..8b9613c 100755 --- a/Gemfile +++ b/Gemfile @@ -5,7 +5,7 @@ gem 'sprockets', '2.2.2' gem 'webrick', '1.3.1' # Bundle edge Rails instead: # gem 'rails', :git => 'git://github.com/rails/rails.git' - gem 'mysql2' + gem 'mysql2', '~>0.3.10' gem 'sqlite3' gem 'execjs', '~>1.4.0' @@ -136,4 +136,4 @@ gem 'blueimp-gallery-rails' gem 'shareable' -gem 'sunspot_test' \ No newline at end of file +gem 'sunspot_test' diff --git a/config/sunspot.yml b/config/sunspot.yml index 236e868..20d40e6 100644 --- a/config/sunspot.yml +++ b/config/sunspot.yml @@ -10,10 +10,15 @@ production: development: solr: - hostname: solr - port: 8983 + hostname: triton-amp.local + port: 8080 log_level: INFO path: /solr/mycore +# solr: +# hostname: localhost +# port: 8983 +# log_level: INFO +# path: /solr/mycore test: solr: