Skip to content

Commit

Permalink
use ip
Browse files Browse the repository at this point in the history
  • Loading branch information
brittnylapierre committed Dec 1, 2023
1 parent 7470a34 commit 76ec697
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion app/components/legacy_ocr_search_component.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
6 changes: 3 additions & 3 deletions config/blacklight.yml
Original file line number Diff line number Diff line change
@@ -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" %>
12 changes: 6 additions & 6 deletions config/sunspot.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 76ec697

Please sign in to comment.