aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlec Warner <antarus@gentoo.org>2018-02-18 15:53:26 -0500
committerAlec Warner <antarus@gentoo.org>2018-02-18 15:53:26 -0500
commit4ad71fe5127875bf0bf9006d417612d2e989858c (patch)
tree07d1340301ff228dc669a7ff4ec93099fb0ec5d0
parentMerge branch 'es-6-compat' into master. (diff)
downloadpackages-5-4ad71fe5127875bf0bf9006d417612d2e989858c.tar.gz
packages-5-4ad71fe5127875bf0bf9006d417612d2e989858c.tar.bz2
packages-5-4ad71fe5127875bf0bf9006d417612d2e989858c.zip
Fix ES port.v6.0.1
-rw-r--r--config/initializers/elasticsearch.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/initializers/elasticsearch.rb b/config/initializers/elasticsearch.rb
index e873162..16898b6 100644
--- a/config/initializers/elasticsearch.rb
+++ b/config/initializers/elasticsearch.rb
@@ -1,6 +1,6 @@
require 'elasticsearch/persistence/model'
-Elasticsearch::Persistence.client = Elasticsearch::Client.new host: ENV['ELASTICSEARCH_URL'] || 'elasticsearch:9300'
+Elasticsearch::Persistence.client = Elasticsearch::Client.new host: ENV['ELASTICSEARCH_URL'] || 'elasticsearch:9200'
if Rails.env.development? or ENV['RAILS_DEBUG']
logger = ActiveSupport::Logger.new(STDERR)
logger.level = Logger::DEBUG