18 |
|
|
19 |
=head1 VERSION |
=head1 VERSION |
20 |
|
|
21 |
Version 0.11 |
Version 0.12 |
22 |
|
|
23 |
=cut |
=cut |
24 |
|
|
25 |
our $VERSION = '0.11'; |
our $VERSION = '0.12'; |
26 |
|
|
27 |
=head1 SYNOPSIS |
=head1 SYNOPSIS |
28 |
|
|
99 |
my $url = $self->{masterurl} . '/node/' . $self->{database}; |
my $url = $self->{masterurl} . '/node/' . $self->{database}; |
100 |
$self->{url} = $url; |
$self->{url} = $url; |
101 |
|
|
102 |
|
$self->{label} ||= "WebPAC $self->{database}"; |
103 |
|
|
104 |
$self->{db} = Search::Estraier::Node->new( |
$self->{db} = Search::Estraier::Node->new( |
105 |
url => $url, |
url => $url, |
106 |
user => $self->{user}, |
user => $self->{user}, |
107 |
passwd => $self->{passwd}, |
passwd => $self->{passwd}, |
108 |
debug => $self->{debug}, |
debug => $self->{debug}, |
109 |
create => 1, |
create => 1, |
110 |
label => "WebPAC $self->{database}", |
label => $self->convert( $self->{label} ), |
111 |
); |
); |
112 |
|
|
113 |
$log->info("using ", $self->{clean} ? "new " : "", "index $self->{url} with encoding $self->{encoding}"); |
$log->info("using ", $self->{clean} ? "new " : "", "index $self->{url} '$self->{label}' with encoding $self->{encoding}"); |
114 |
|
|
115 |
if ($self->{clean}) { |
if ($self->{clean}) { |
116 |
$log->debug("clean $self->{database}"); |
$log->debug("clean $self->{database}"); |