Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 22 additions & 4 deletions collection.xconf
Original file line number Diff line number Diff line change
@@ -1,17 +1,35 @@
<collection xmlns="http://exist-db.org/collection-config/1.0">
<index xmlns:tei="http://www.tei-c.org/ns/1.0">
<index xmlns:tei="http://www.tei-c.org/ns/1.0" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:mei="http://www.music-encoding.org/ns/mei">
<!-- Full text index based on Lucene -->
<lucene>
<analyzer class="org.apache.lucene.analysis.standard.StandardAnalyzer"/>
<analyzer id="ws" class="org.apache.lucene.analysis.core.WhitespaceAnalyzer"/>
<text qname="tei:title" boost="2.0"/>
<text qname="@type" analyzer="ws"/>
<text qname="@key" analyzer="ws"/>
<text qname="tei:persName" boost="2.0"/>

<!--TEI-->
<text qname="tei:orgName" boost="2.0"/>
<text qname="tei:persName" boost="2.0"/>
<text qname="tei:settlement" boost="2.0"/>
<text qname="tei:text"/>
<text qname="tei:title" boost="2.0"/>

<!--MEI-->
<text qname="mei:mei">
<ignore qname="mei:music"/>
<ignore qname="mei:title"/>
<ignore qname="mei:annot"/>
</text>
<text qname="mei:title" boost="2.0"/>
<text qname="mei:annot"/>

</lucene>
<!-- HTML documents with XHTML namespace -->
<text qname="html:body" xmlns:html="http://www.w3.org/1999/xhtml"/>
<text qname="html:title" boost="2.0" xmlns:html="http://www.w3.org/1999/xhtml"/>
<!-- HTML documents without namespace (DOCTYPE html) -->
<text qname="body"/>
<text qname="title" boost="2.0"/>
</lucene>

<!-- Range indexes -->
<range>
Expand Down