fix deprecated imports / uses
authorBill Erickson <berickxx@gmail.com>
Thu, 12 Sep 2019 17:41:58 +0000 (13:41 -0400)
committerBill Erickson <berickxx@gmail.com>
Mon, 13 Jun 2022 20:01:54 +0000 (16:01 -0400)
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/support-scripts/test-scripts/elastic-search-samples.pl
Open-ILS/src/support-scripts/test-scripts/elastic-search.pl

index 6eb3501..fbb182d 100755 (executable)
@@ -5,7 +5,7 @@ use Getopt::Long;
 use Time::HiRes qw/time/;
 use OpenSRF::Utils::JSON;
 use OpenILS::Utils::Fieldmapper;
-use OpenILS::Elastic::BibSearch;
+use OpenILS::Elastic::Bib::Search;
 
 use utf8;
 binmode(STDIN, ':utf8');
@@ -117,7 +117,7 @@ Fieldmapper->import(
     IDL => OpenSRF::Utils::SettingsClient->new->config_value("IDL"));
 OpenILS::Utils::CStoreEditor::init();
 
-my $es = OpenILS::Elastic::BibSearch->new($cluster);
+my $es = OpenILS::Elastic::Bib::Search->new($cluster);
 $es->connect;
 
 print "Searching...\n";
index 810167e..becf508 100755 (executable)
@@ -5,7 +5,7 @@ use Getopt::Long;
 use Time::HiRes qw/time/;
 use OpenSRF::Utils::JSON;
 use OpenILS::Utils::Fieldmapper;
-use OpenILS::Elastic::BibSearch;
+use OpenILS::Elastic::Bib::Search;
 
 use utf8;
 binmode(STDIN, ':utf8');
@@ -46,7 +46,7 @@ Fieldmapper->import(
     IDL => OpenSRF::Utils::SettingsClient->new->config_value("IDL"));
 OpenILS::Utils::CStoreEditor::init();
 
-my $es = OpenILS::Elastic::BibSearch->new($cluster);
+my $es = OpenILS::Elastic::Bib::Search->new($cluster);
 $es->connect;
 
 print <<MESSAGE;