|
22.
|
|
|
Index sites running Elasticsearch faster
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/cli.rst:106
|
|
23.
|
|
|
**Prerequisite**: Elasticsearch is installed and set up to run on the site.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/cli.rst:109
|
|
24.
|
|
|
When a large site is indexed or re-indexed so that Elasticsearch can display results, this process can take a very long time because the indexing happens on cron runs. If the batch that was indexed finished before the end of the cron though, there is a lag between the next batch starting up again. The ``fast_index`` CLI script starts the next batch indexing right after the previous one finished.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/cli.rst:111
|
|
25.
|
|
|
You run the script with the following command:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/cli.rst:113
|
|
26.
|
|
|
``sudo -u www-data php admin/cli/fast_index.php``
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/cli.rst:115
|
|
27.
|
|
|
Install and update language packs
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/cli.rst:123
|
|
28.
|
|
|
Typically, if you want to update a language pack, you need to download the entire language pack manually and place it into the appropriate folder. This is cumbersome, especially when you want to update the language packs during minor point updates.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/cli.rst:125
|
|
29.
|
|
|
Using CLI, you can speed up the process.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/cli.rst:127
|
|
30.
|
|
|
**Install or update language packs** for your instance of Mahara by listing the language codes.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/cli.rst:129
|
|
31.
|
|
|
Example (de = German, fr = French):
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/cli.rst:131
|