forked from eXist-db/demo-apps
-
Notifications
You must be signed in to change notification settings - Fork 0
/
collection.xconf
31 lines (31 loc) · 1.23 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
31
<?xml version="1.0" encoding="UTF-8"?>
<collection xmlns="http://exist-db.org/collection-config/1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<index>
<fulltext default="none" attributes="false"/>
<lucene>
<analyzer class="org.apache.lucene.analysis.standard.StandardAnalyzer">
<param name="stopwords" type="org.apache.lucene.analysis.util.CharArraySet"/>
</analyzer>
<text qname="SCENE">
<ignore qname="SPEAKER"/>
</text>
<text qname="TITLE"/>
<text qname="SPEECH"/>
</lucene>
<range>
<create qname="SPEAKER" type="xs:string"/>
<create qname="population" type="xs:integer"/>
<create qname="population_growth" type="xs:double"/>
<create qname="infant_mortality" type="xs:double"/>
<create qname="inflation" type="xs:double"/>
<create qname="name" type="xs:string"/>
</range>
<ngram qname="name"/>
<ngram qname="street"/>
<ngram qname="city"/>
<ngram qname="address"/>
</index>
<triggers>
<trigger class="org.exist.extensions.exquery.restxq.impl.RestXqTrigger"/>
</triggers>
</collection>