--- trunk/lib/WebPAC/Output/KinoSearch.pm 2006/08/01 17:26:55 609 +++ trunk/lib/WebPAC/Output/KinoSearch.pm 2006/08/01 18:20:59 610 @@ -90,6 +90,8 @@ $self->{encoding} ||= 'ISO-8859-2'; + $self->{index_path} .= '/' . $self->{database}; + $self->{clean} = 1 if (! -e $self->{index_path} . '/segments'); $log->info("using", $self->{clean} ? ' new' : '', " index $self->{index_path} with encoding $self->{encoding}");