MDL-53515 search: Extend search API to allow file indexing
[moodle.git] / search / engine / solr / lang / en / search_solr.php
CommitLineData
95c6aeaf
DM
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 core_search
21 * @copyright Prateek Sachan {@link http://prateeksachan.com}
22 * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
23 */
24
95c6aeaf
DM
25$string['connectionerror'] = 'The specified Solr server is not available or the specified index does not exist';
26$string['errorcreatingschema'] = 'Error creating the Solr schema: {$a}';
27$string['errorvalidatingschema'] = 'Error validating Solr schema, field {$a->fieldname} does not exist. Please <a href="{$a->setupurl}">follow this link</a> to setup the fields required by Moodle.';
28$string['extensionerror'] = 'The Apache Solr PHP extension is not installed. Please check the documentation.';
29$string['missingconfig'] = 'Your Apache Solr server is not yet configured in Moodle.';
30$string['multivaluedfield'] = 'Field "{$a}" returned an array instead of a scalar, the field is probably defined in Solr with "Multivalued" to true, this means that Solr autocreated the field for you when you indexed data because you forgot to run search/engine/solr/cli/setup_schema.php. Please delete the current index, create a new one and run setup_schema.php before indexing data in Solr.';
31$string['nodatafromserver'] = 'No data from server';
32$string['pluginname'] = 'Solr';
33$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.';
34$string['searchinfo'] = 'Search queries';
35$string['searchinfo_help'] = 'Features you can use while performing search queries:
36
37* Fields: You can specify which fields you want results from.<br/>
38 * title:(moodle + perth): returns all records that contains both "moodle" and "perth" in the title. Available fields: title, content, name, intro
39* Boolean Operators ("AND", "OR", "NOT"):<br/>
40 * (moodle AND perth) OR (moodle AND australia)
41* Wildcards ("&#42;", "?"):<br/>
42 * "mo??l&#42;" returns both "moodle" and "moodledata".
43* Proximity Searches ("~"):<br/>
44 * mood~2 returns "moodle". (2 alphabets away from "mood").
45 * moodle australia~3 returns results containing "moodle hq at perth australia" (the queried terms were within 3 words of each other)
46* Boosting Terms ("^"): To boost certain words/phrases:<br/>
47 * "perth australia"^5 "australia" will make results with the phrase "perth australia" more relevant.
48';
49$string['setupok'] = 'The schema is ready to be used.';
50$string['solrauthpassword'] = 'HTTP Authentication Password';
51$string['solrauthuser'] = 'HTTP Authentication username';
52$string['solrindexname'] = 'Index name';
53$string['solrhttpconnectionport'] = 'Port';
54$string['solrhttpconnectiontimeout'] = 'Timeout';
55$string['solrhttpconnectiontimeout_desc'] = 'The HTTP connection timeout is the maximum time in seconds allowed for the HTTP data transfer operation.';
56$string['solrinfo'] = 'Solr';
57$string['solrnotselected'] = 'Solr engine is not the configured search engine';
58$string['solrserverhostname'] = 'Host Name';
59$string['solrserverhostname_desc'] = 'Domain name of the Solr server.';
60$string['solrsecuremode'] = 'Secure mode';
61$string['solrsetting'] = 'Solr settings';
62$string['solrsslcainfo'] = 'SSL CA certificates name';
63$string['solrsslcainfo_desc'] = 'File name holding one or more CA certificates to verify peer with';
64$string['solrsslcapath'] = 'SSL CA certificates path';
65$string['solrsslcapath_desc'] = 'Directory path holding multiple CA certificates to verify peer with';
5dc4624c
EM
66$string['solrsslcert'] = 'SSL certificate';
67$string['solrsslcert_desc'] = 'File name to a PEM-formatted private certificate';
95c6aeaf
DM
68$string['solrsslkey'] = 'SSL key';
69$string['solrsslkey_desc'] = 'File name to a PEM-formatted private key';
5dc4624c 70$string['solrsslkeypassword'] = 'SSL key password';
95c6aeaf 71$string['solrsslkeypassword_desc'] = 'Password for PEM-formatted private key file';