Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.0.x will end 8 May 2023 (12 months).
  • Bug fixes for security issues in 4.0.x will end 13 November 2023 (18 months).
  • PHP version: minimum PHP 7.3.0 Note: the minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is also supported.
   1  <?php
   2  // This file is part of Moodle - http://moodle.org/
   3  //
   4  // Moodle is free software: you can redistribute it and/or modify
   5  // it under the terms of the GNU General Public License as published by
   6  // the Free Software Foundation, either version 3 of the License, or
   7  // (at your option) any later version.
   8  //
   9  // Moodle is distributed in the hope that it will be useful,
  10  // but WITHOUT ANY WARRANTY; without even the implied warranty of
  11  // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  12  // GNU General Public License for more details.
  13  //
  14  // You should have received a copy of the GNU General Public License
  15  // along with Moodle.  If not, see <http://www.gnu.org/licenses/>.
  16  
  17  /**
  18   * Strings for component 'search_solr'.
  19   *
  20   * @package   search_solr
  21   * @copyright Prateek Sachan {@link http://prateeksachan.com}
  22   * @license   http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
  23   */
  24  
  25  $string['connectionerror'] = 'The specified Solr server is not available or the specified index does not exist';
  26  $string['connectionsettings'] = 'Connection settings';
  27  $string['errorcreatingschema'] = 'Error creating the Solr schema: {$a}';
  28  $string['errorvalidatingschema'] = 'Error validating Solr schema: field {$a->fieldname} does not exist. Please <a href="{$a->setupurl}">follow this link</a> to set up the required fields.';
  29  $string['errorsolr'] = 'The Solr search engine reported an error: {$a}';
  30  $string['extensionerror'] = 'The Apache Solr PHP extension is not installed. Please check the documentation.';
  31  $string['fileindexing'] = 'Enable file indexing';
  32  $string['fileindexing_help'] = 'If your Solr install supports it, this feature allows Moodle to send files to be indexed.<br/>
  33  You will need to reindex all site contents after enabling this option for all files to be added.';
  34  $string['fileindexsettings'] = 'File indexing settings';
  35  $string['maxindexfilekb'] = 'Maximum file size to index (kB)';
  36  $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.';
  37  $string['minimumsolr4'] = 'Solr 4.0 is the minimum version required for Moodle';
  38  $string['missingconfig'] = 'Your Apache Solr server is not yet configured in Moodle.';
  39  $string['multivaluedfield'] = 'Field "{$a}" returned an array instead of a scalar. Please delete the current index, create a new one and run setup_schema.php before indexing data in Solr.';
  40  $string['nodatafromserver'] = 'No data from server';
  41  $string['pluginname'] = 'Solr';
  42  $string['privacy:metadata'] = 'This plugin sends data externally to a linked Solr search engine. It does not store data locally.';
  43  $string['privacy:metadata:data'] = 'Personal data passed through from the search subsystem.';
  44  $string['schemafieldautocreated'] = 'Field "{$a}" already exists in Solr schema. You probably forgot to run this script before indexing data and fields were autocreated by Solr. Please delete the current index, create a new one and run setup_schema.php again before indexing data in Solr.';
  45  $string['schemasetupfromsolr5'] = 'Your Solr server version is lower than 5.0. This script can only set your schema if your Solr version is 5.0 or higher. You need to manually set the fields in your schema according to \\search_solr\\document::get_default_fields_definition().';
  46  $string['searchinfo'] = 'Search queries';
  47  $string['searchinfo_help'] = 'The field to be searched may be specified by prefixing the search query with \'title:\', \'content:\', \'name:\', or \'intro:\'. For example, searching for \'title:news\' would return results with the word \'news\' in the title.
  48  
  49  Boolean operators (\'AND\', \'OR\', \'NOT\') may be used to combine or exclude keywords.
  50  
  51  Wildcard characters (\'*\' or \'?\' ) may be used to represent characters in the search query.';
  52  $string['setupok'] = 'The schema is ready to be used.';
  53  $string['solrauthpassword'] = 'HTTP authentication password';
  54  $string['solrauthuser'] = 'HTTP authentication username';
  55  $string['solrindexname'] = 'Index name';
  56  $string['solrhttpconnectionport'] = 'Port';
  57  $string['solrhttpconnectiontimeout'] = 'Timeout';
  58  $string['solrhttpconnectiontimeout_desc'] = 'The HTTP connection timeout is the maximum time in seconds allowed for the HTTP data transfer operation.';
  59  $string['solrinfo'] = 'Solr';
  60  $string['solrnotselected'] = 'Solr engine is not the configured search engine';
  61  $string['solrserverhostname'] = 'Host name';
  62  $string['solrserverhostname_desc'] = 'Domain name of the Solr server.';
  63  $string['solrsecuremode'] = 'Secure mode';
  64  $string['solrsetting'] = 'Solr settings';
  65  $string['solrsslcainfo'] = 'SSL CA certificates name';
  66  $string['solrsslcainfo_desc'] = 'File name holding one or more CA certificates to verify peer with';
  67  $string['solrsslcapath'] = 'SSL CA certificates path';
  68  $string['solrsslcapath_desc'] = 'Directory path holding multiple CA certificates to verify peer with';
  69  $string['solrsslcert'] = 'SSL certificate';
  70  $string['solrsslcert_desc'] = 'File name to a PEM-formatted private certificate';
  71  $string['solrsslkey'] = 'SSL key';
  72  $string['solrsslkey_desc'] = 'File name to a PEM-formatted private key';
  73  $string['solrsslkeypassword'] = 'SSL key password';
  74  $string['solrsslkeypassword_desc'] = 'Password for PEM-formatted private key file';