Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara
mahara
Commits
0f6977da
Commit
0f6977da
authored
Jun 25, 2015
by
Robert Lyon
Committed by
Gerrit Code Review
Jun 25, 2015
Browse files
Merge "Set elasticsearch cronlimit to 50000 by default."
parents
bfe41032
0b1d3d68
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/search/elasticsearch/lib.php
View file @
0f6977da
...
...
@@ -474,6 +474,7 @@ class PluginSearchElasticsearch extends PluginSearch {
set_config_plugin
(
'search'
,
'elasticsearch'
,
'indexname'
,
'mahara'
);
set_config_plugin
(
'search'
,
'elasticsearch'
,
'analyzer'
,
'mahara_analyzer'
);
set_config_plugin
(
'search'
,
'elasticsearch'
,
'types'
,
'usr,interaction_instance,interaction_forum_post,group,view,artefact'
);
set_config_plugin
(
'search'
,
'elasticsearch'
,
'cronlimit'
,
'50000'
);
$elasticsearchartefacttypesmap
=
file_get_contents
(
__DIR__
.
'/elasticsearchartefacttypesmap.txt'
);
set_config_plugin
(
'search'
,
'elasticsearch'
,
'artefacttypesmap'
,
$elasticsearchartefacttypesmap
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment