17 |
|
|
18 |
=head1 VERSION |
=head1 VERSION |
19 |
|
|
20 |
Version 0.02 |
Version 0.03 |
21 |
|
|
22 |
=cut |
=cut |
23 |
|
|
24 |
our $VERSION = '0.02'; |
our $VERSION = '0.03'; |
25 |
|
|
26 |
=head1 SYNOPSIS |
=head1 SYNOPSIS |
27 |
|
|
90 |
|
|
91 |
$self->{encoding} ||= 'ISO-8859-2'; |
$self->{encoding} ||= 'ISO-8859-2'; |
92 |
|
|
93 |
$log->info("using index $self->{index_path} with encoding $self->{encoding}"); |
$self->{clean} = 1 if (! -e $self->{index_path} . '/segments'); |
94 |
|
|
95 |
|
$log->info("using", $self->{clean} ? ' new' : '', " index $self->{index_path} with encoding $self->{encoding}"); |
96 |
|
|
97 |
my $analyzer = KinoSearch::Analysis::PolyAnalyzer->new( language => 'en' ); |
my $analyzer = KinoSearch::Analysis::PolyAnalyzer->new( language => 'en' ); |
98 |
|
|