X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/0532e721f1427c5d3a545975b6d7fe5b4fcc9873..b293ff8ad52fc76ba0c44783e3982418114d6b08:/SL/BackgroundJob/CreateOrUpdateFileFullTexts.pm diff --git a/SL/BackgroundJob/CreateOrUpdateFileFullTexts.pm b/SL/BackgroundJob/CreateOrUpdateFileFullTexts.pm index fd281162d..055accda3 100644 --- a/SL/BackgroundJob/CreateOrUpdateFileFullTexts.pm +++ b/SL/BackgroundJob/CreateOrUpdateFileFullTexts.pm @@ -22,7 +22,7 @@ my %extractor_by_mime_type = ( ); sub create_job { - $_[0]->create_standard_job('7 * * * *'); # seven minutes after every hour + $_[0]->create_standard_job('20 3 * * *'); # # every day at 3:20 am } # @@ -115,3 +115,30 @@ sub _text_to_strings { } 1; + +__END__ + +=pod + +=encoding utf8 + +=head1 NAME + +SL::BackgroundJob::CreateOrUpdateFileFullTexts - Extract text strings/words from +files in the DMS for full text search. + +=head1 SYNOPSIS + +Search all documents in the files table and try to extract strings from them +and store the strings in the database. + +Duplicate strings/words in one text are removed. + +Strings are updated if the change or creation time of the document is newer than +the old entry. + +=head1 AUTHOR + +Bernd Bleßmann Ebernd@kivitendo-premium.deE + +=cut