diff --git a/app/components/legacy_ocr_search_component.rb b/app/components/legacy_ocr_search_component.rb index b5e304961..0e28a5c1a 100644 --- a/app/components/legacy_ocr_search_component.rb +++ b/app/components/legacy_ocr_search_component.rb @@ -7,7 +7,7 @@ def initialize(documentId:, term:, prefix:) @prefix = prefix puts term.length if @term.length != 0 - rsolr = RSolr.connect :url => 'http://solr:8983/solr/page' + rsolr = RSolr.connect :url => 'http://159.203.33.98:8983/solr/page' if term != "*:*" @legacy_ocr_search_request= rsolr.get 'select', :params => { :rows => 500, diff --git a/config/blacklight.yml b/config/blacklight.yml index 0aaeb3df2..a905c6500 100644 --- a/config/blacklight.yml +++ b/config/blacklight.yml @@ -1,10 +1,10 @@ load_defaults: 8.0.1 development: adapter: solr - url: <%= ENV['SOLR_URL'] || "http://solr:8983/solr/blacklight" %> + url: <%= ENV['SOLR_URL'] || "http://159.203.33.98:8983/solr/blacklight" %> test: &test adapter: solr - url: <%= ENV['SOLR_URL'] || "http://solr:8983/solr/blacklight" %> + url: <%= ENV['SOLR_URL'] || "http://159.203.33.98:8983/solr/blacklight" %> production: adapter: solr - url: <%= ENV['SOLR_URL'] || "http://solr:8983/solr/blacklight" %> + url: <%= ENV['SOLR_URL'] || "http://159.203.33.98:8983/solr/blacklight" %> diff --git a/config/sunspot.yml b/config/sunspot.yml index 74e122d7b..c0f1027df 100644 --- a/config/sunspot.yml +++ b/config/sunspot.yml @@ -1,23 +1,23 @@ production: solr: - hostname: tokaji.tor.c7a.ca + hostname: 159.203.33.98 port: 8983 log_level: WARNING - path: /solr/cosearch2 + path: /solr/blacklight # read_timeout: 2 # open_timeout: 0.5 development: solr: - hostname: tokaji.tor.c7a.ca + hostname: 159.203.33.98 port: 8983 log_level: WARNING - path: /solr/cosearch2 + path: /solr/coseblacklightarch2 test: solr: - hostname: tokaji.tor.c7a.ca + hostname: 159.203.33.98 port: 8983 log_level: WARNING - path: /solr/cosearch2 + path: /solr/blacklight \ No newline at end of file