-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathsettings.xml
103 lines (97 loc) · 2.5 KB
/
settings.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plugin_settings SYSTEM "../../../lib/pkp/dtd/pluginSettings.dtd">
<!--
* settings.xml
*
* Copyright (c) 2014-2020 Simon Fraser University
* Copyright (c) 2003-2020 John Willinsky
* Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
*
* Default plugin settings.
*
-->
<plugin_settings>
<setting type="bool">
<name>enabled</name>
<value>false</value>
</setting>
<!-- Search Handler Configuration -->
<setting type="string">
<name>searchEndpoint</name>
<value>http://localhost:8983/solr/ojs/search</value>
</setting>
<setting type="string">
<name>username</name>
<value>solr</value>
</setting>
<setting type="string">
<name>password</name>
<value>SolrRocks</value>
</setting>
<setting type="string">
<name>instId</name>
<value>localhost</value>
</setting>
<!-- Email Timestamp to avoid DoS/Spam attacks -->
<setting type="int">
<name>lastEmailTimestamp</name>
<value>0</value>
</setting>
<!-- Search Features -->
<setting type="bool">
<name>autosuggest</name>
<value>true</value>
</setting>
<setting type="int">
<name>autosuggestType</name>
<value>2</value> <!-- Default: Use faceting for auto-suggest. -->
</setting>
<setting type="bool">
<name>spellcheck</name>
<value>true</value>
</setting>
<setting type="bool">
<name>pullIndexing</name>
<value>false</value> <!-- Pull indexing is an advanced feature and is therefore switched off by default -->
</setting>
<setting type="bool">
<name>simdocs</name>
<value>true</value>
</setting>
<setting type="bool">
<name>highlighting</name>
<value>true</value>
</setting>
<setting type="bool"> <!-- Facet categories can be enabled individually. We therefore need one setting per category. -->
<name>facetCategoryDiscipline</name>
<value>true</value>
</setting>
<setting type="bool">
<name>facetCategorySubject</name>
<value>true</value>
</setting>
<setting type="bool">
<name>facetCategoryType</name>
<value>true</value>
</setting>
<setting type="bool">
<name>facetCategoryCoverage</name>
<value>true</value>
</setting>
<setting type="bool">
<name>facetCategoryJournalTitle</name>
<value>true</value>
</setting>
<setting type="bool">
<name>facetCategoryAuthors</name>
<value>true</value>
</setting>
<setting type="bool">
<name>facetCategoryPublicationDate</name>
<value>true</value>
</setting>
<setting type="bool">
<name>customRanking</name>
<value>false</value>
</setting>
</plugin_settings>