-
Notifications
You must be signed in to change notification settings - Fork 11
/
collection.xconf
30 lines (29 loc) · 1.35 KB
/
collection.xconf
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
<?xml version="1.0" encoding="UTF-8"?>
<collection xmlns="http://exist-db.org/collection-config/1.0">
<index xmlns:xs="http://www.w3.org/2001/XMLSchema">
<!-- Lucene index configuration -->
<lucene>
<analyzer class="org.apache.lucene.analysis.standard.StandardAnalyzer"/>
<text index="no" qname="persName">
<!-- start required facets and fields -->
<facet dimension="hsg-category" expression="'department'"/>
<facet dimension="hsg-publication" expression="'pocom'"/>
<field name="hsg-fulltext"/>
<field expression="'/departmenthistory/people/' || parent::person/id" name="hsg-url"/>
<!-- end required facets and fields -->
</text>
</lucene>
<!-- Range index configuration -->
<range>
<create qname="category" type="xs:string"/>
<create qname="class" type="xs:string"/>
<create qname="date" type="xs:date"/>
<create qname="id" type="xs:string"/>
<create qname="old-id" type="xs:string"/>
<create qname="person-id" type="xs:string"/>
<create qname="value" type="xs:string"/>
<create qname="@type" type="xs:string"/>
<create qname="@when" type="xs:string"/>
</range>
</index>
</collection>