Skip to content

Commit ce6c243

Browse files
committed
Collection configuration MUST be collection.xconf
Closes eXist-db/exist#1282
1 parent f50da1d commit ce6c243

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

data/indexing.xml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@
106106
documents in the system collection: <filename>/db/system/config</filename>, which
107107
can be accessed like any other document (e.g. using the Admin interface or Java
108108
Client). In addition to defining settings for indexing collections, the
109-
configuration document specifies collection-specific other settings such as triggers
109+
configuration document specifies other collection-specific settings such as triggers
110110
or default permissions.</para>
111111
<para>The contents of the system collection (<filename>/db/system/config</filename>)
112112
should mirror the hierarchical structure of the main collection. Configurations are shared
@@ -121,19 +121,13 @@
121121
the <filename>/db/foo</filename> hierarchy inside <filename>/db/system/config/</filename>. Sub-collections which do not have a <filename>collection.xconf</filename> file of their own will be governed by the
122122
configuration policy specified for the closest ancestor collection which does have
123123
such a file, so you are not required to specify a configuration for every
124-
collection. Note, however, that configuration settings do not cascade. If you choose
124+
collection. Note, however, that configuration settings do not cascade, that is to say that a sub-collection
125+
with a <filename>collection.xconf</filename>, will not inherit any settings from any ancestor collection
126+
that has a <filename>collection.xconf</filename>; If you choose
125127
to deploy a <filename>collection.xconf</filename> file in a sub-collection, you must
126128
specify in that file <emphasis>all</emphasis> the configuration options you wish to
127129
have applied to that sub-collection (and any lower-level sub-collections without
128130
<filename>collection.xconf</filename> files of their own). </para>
129-
<note>
130-
<para>Due to backward compatibility concerns, the file does not have to be called
131-
<filename>collection.xconf</filename>, which is now the preferred file name,
132-
but it <emphasis>must</emphasis> have the <filename>.xconf</filename>
133-
extension.</para>
134-
<para>You can only have <emphasis>one</emphasis>
135-
<filename>.xconf</filename> file at each level.</para>
136-
</note>
137131
<section>
138132
<title>Maintaining Indexes and Re-indexing</title>
139133
<table>

0 commit comments

Comments
 (0)