#encoding: utf-8
if ENV["SEARCHBOX_URL"]
	Searchkick.client = Elasticsearch::Client.new({url: ENV['SEARCHBOX_URL'], logs: true})
elsif Rails.env == "test"
	Searchkick.client = Elasticsearch::Client.new({url: "http://localhost:8081", logs: true})
elsif Rails.env == "development"
	Searchkick.client = Elasticsearch::Client.new({url: "http://localhost:8081", logs: true})
end

#encoding: utf-8
if ENV["SEARCHBOX_URL"]
	Searchkick.client = Elasticsearch::Client.new({url: ENV['SEARCHBOX_URL'], logs: true})
elsif Rails.env == "test"
	Searchkick.client = Elasticsearch::Client.new({url: "http://localhost:9200", logs: true})
elsif Rails.env == "development"
	Searchkick.client = Elasticsearch::Client.new({url: "http://localhost:9200", logs: true})
end

Reset elasticsearch to use default port
Reset elasticsearch to use default port

- config/initializers/searchbox.rb - The defauult host & port should
  be "http://localhost:9200", not "http://localhost:8081". Fixed
  the initializer to reflect that

Updates #894
