25 |
+ mailinglist-update |
+ mailinglist-update |
26 |
+ mailinglist-assign |
+ mailinglist-assign |
27 |
+ )); |
+ )); |
28 |
+foreach (qw( |
+#foreach (qw( |
29 |
+ smeserver-ezmlm-www-update |
+# smeserver-ezmlm-www-update |
30 |
+ mailinglist-create |
+# mailinglist-create |
31 |
+ mailinglist-update |
+# mailinglist-update |
32 |
+ mailinglist-assign |
+# mailinglist-assign |
33 |
+ )) { |
+# )) { |
34 |
+event_link("ezw-search-create", $_, "50"); |
+#event_link("ezw-search-create", $_, "50"); |
35 |
+} |
+#} |
36 |
diff -Nur --no-dereference smeserver-ezmlm-www-2.0.0.old/root/etc/cron.hourly/ezw-search smeserver-ezmlm-www-2.0.0/root/etc/cron.hourly/ezw-search |
diff -Nur --no-dereference smeserver-ezmlm-www-2.0.0.old/root/etc/cron.hourly/ezw-search smeserver-ezmlm-www-2.0.0/root/etc/cron.hourly/ezw-search |
37 |
--- smeserver-ezmlm-www-2.0.0.old/root/etc/cron.hourly/ezw-search 1969-12-31 19:00:00.000000000 -0500 |
--- smeserver-ezmlm-www-2.0.0.old/root/etc/cron.hourly/ezw-search 1969-12-31 19:00:00.000000000 -0500 |
38 |
+++ smeserver-ezmlm-www-2.0.0/root/etc/cron.hourly/ezw-search 2022-03-16 00:19:01.108000000 -0400 |
+++ smeserver-ezmlm-www-2.0.0/root/etc/cron.hourly/ezw-search 2022-03-16 00:19:01.108000000 -0400 |
245 |
+ |
+ |
246 |
+LIST: foreach my $list (@Lists) { |
+LIST: foreach my $list (@Lists) { |
247 |
+ |
+ |
248 |
+ # load the right KinoSearch module (for backwards compatibility) |
+ # load the right KinoSearch1 module (for backwards compatibility) |
249 |
+ my $kinosearch_version = ''; |
+ my $kinosearch_version = ''; |
250 |
+ if ($Engine eq 'kinosearch') { |
+ if ($Engine eq 'kinosearch') { |
251 |
+ if ($opt{update} && -e "$list->{index_dir}/kinostats") { |
+ if ($opt{update} && -e "$list->{index_dir}/kinostats") { |
255 |
+ $kinosearch_version = 'old'; |
+ $kinosearch_version = 'old'; |
256 |
+ } else { |
+ } else { |
257 |
+ eval q{ |
+ eval q{ |
258 |
+ use KinoSearch::InvIndexer; |
+ use KinoSearch1::InvIndexer; |
259 |
+ use KinoSearch::Analysis::PolyAnalyzer; |
+ use KinoSearch1::Analysis::PolyAnalyzer; |
260 |
+ }; |
+ }; |
261 |
+ $kinosearch_version = 'new'; |
+ $kinosearch_version = 'new'; |
262 |
+ } |
+ } |
294 |
+ ); |
+ ); |
295 |
+ } |
+ } |
296 |
+ } elsif ($Engine eq 'kinosearch' && $kinosearch_version eq 'new') { |
+ } elsif ($Engine eq 'kinosearch' && $kinosearch_version eq 'new') { |
297 |
+ my $analyzer = KinoSearch::Analysis::PolyAnalyzer->new( language => 'en' ); |
+ my $analyzer = KinoSearch1::Analysis::PolyAnalyzer->new( language => 'en' ); |
298 |
+ $writer = KinoSearch::InvIndexer->new( |
+ $writer = KinoSearch1::InvIndexer->new( |
299 |
+ invindex => $list->{index_dir}, |
+ invindex => $list->{index_dir}, |
300 |
+ create => $opt{create} ? 1 : 0, |
+ create => $opt{create} ? 1 : 0, |
301 |
+ analyzer => $analyzer, |
+ analyzer => $analyzer, |
384 |
+END_TEXT |
+END_TEXT |
385 |
+} |
+} |
386 |
+1; |
+1; |
387 |
|
diff -Nur --no-dereference smeserver-ezmlm-www-2.0.0.old/root/etc/e-smith/templates.metadata/opt/mailinglist/search/ez_indexer.pl smeserver-ezmlm-www-2.0.0/root/etc/e-smith/templates.metadata/opt/mailinglist/search/ez_indexer.pl |
388 |
|
--- smeserver-ezmlm-www-2.0.0.old/root/etc/e-smith/templates.metadata/opt/mailinglist/search/ez_indexer.pl 1969-12-31 19:00:00.000000000 -0500 |
389 |
|
+++ smeserver-ezmlm-www-2.0.0/root/etc/e-smith/templates.metadata/opt/mailinglist/search/ez_indexer.pl 2022-03-18 23:27:43.740000000 -0400 |
390 |
|
@@ -0,0 +1 @@ |
391 |
|
+PERMS=0755 |