-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdevelop.cfg
executable file
·80 lines (61 loc) · 1.72 KB
/
develop.cfg
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
[buildout]
parts =
solr-instance
solr-download-stable
solr-download-latest
supervisor-solr-conf
supervisor-tools
omelette
# we're extending buildout.cfg
extends =
base.cfg
develop +=
# src/collective.recipe.solrinstance
allow-picked-versions = true
[settings]
solr-max-ram = 4096M
solr-listening-host = 0.0.0.0
solr-master-host = 127.0.0.1
[solr-instance]
recipe = collective.recipe.solrinstance:mc
solr-location = ${solr-download-stable:location}
#solr-location = ${solr-download-latest:location}
cores =
plone
plone-replic
plone-staging
[plone]
additional-solrconfig +=
<requestHandler name="/replication" class="solr.ReplicationHandler" >
<lst name="master">
<str name="replicateAfter">commit</str>
<str name="replicateAfter">startup</str>
<str name="replicateAfter">optimize</str>
</lst>
</requestHandler>
[plone-replic]
<= plone
additional-solrconfig +=
<requestHandler name="/replication" class="solr.ReplicationHandler" >
<lst name="slave">
<str name="masterUrl">http://${settings:solr-master-host}:${settings:solr-port}/solr/plone</str>
<str name="pollInterval">00:00:30</str>
</lst>
</requestHandler>
[plone-staging]
<= plone
additional-solrconfig +=
<requestHandler name="/replication" class="solr.ReplicationHandler" >
<lst name="master">
<str name="replicateAfter">commit</str>
<str name="replicateAfter">startup</str>
<str name="replicateAfter">optimize</str>
</lst>
</requestHandler>
[supervisor-solr-conf]
output = /etc/supervisor/conf.d/solr-develop.conf
process_name = solr-instance
PROCESSNAME = SolrInstance
[omelette]
recipe = collective.recipe.omelette
#eggs = ${buildout:eggs}