From 0f56f6e6dac5baf18d7ab3329e379a4875700f4b Mon Sep 17 00:00:00 2001 From: Matt Porritt Date: Fri, 27 Oct 2017 11:11:12 +1100 Subject: [PATCH] MDL-60360 Global Search: Enable file indexing message update. If you have Global Search set up on a site without file indexing enabled, then at a later date you enable file indexing files associated with existing objects are not added. The only way to have files for existing objects indexed is to run a reindex of all content. This patches updates the file indexing language string in the solr search settings of Global Search to make this clear to the site administrator. --- search/engine/solr/lang/en/search_solr.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/search/engine/solr/lang/en/search_solr.php b/search/engine/solr/lang/en/search_solr.php index b8d7e12b3f57d..6addfea4c241e 100644 --- a/search/engine/solr/lang/en/search_solr.php +++ b/search/engine/solr/lang/en/search_solr.php @@ -28,7 +28,8 @@ $string['errorvalidatingschema'] = 'Error validating Solr schema: field {$a->fieldname} does not exist. Please follow this link to set up the required fields.'; $string['extensionerror'] = 'The Apache Solr PHP extension is not installed. Please check the documentation.'; $string['fileindexing'] = 'Enable file indexing'; -$string['fileindexing_help'] = 'If your Solr install supports it, this feature allows Moodle to send files to be indexed.'; +$string['fileindexing_help'] = 'If your Solr install supports it, this feature allows Moodle to send files to be indexed.
+You will need to reindex all site contents after enabling this option for all files to be added.'; $string['fileindexsettings'] = 'File indexing settings'; $string['maxindexfilekb'] = 'Maximum file size to index (kB)'; $string['maxindexfilekb_help'] = 'Files larger than this number of kilobytes will not be included in search indexing. If set to zero, files of any size will be indexed.';