forked from majlis-erc/srophe
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsearch-config-example.xml
More file actions
14 lines (14 loc) · 981 Bytes
/
search-config-example.xml
File metadata and controls
14 lines (14 loc) · 981 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<search-config>
<!-- Used for sorting, do not delete -->
<field name="title" expression="descendant-or-self::tei:body" function="title" type="sort"/>
<field name="titleSyriac" expression="descendant-or-self::tei:body" function="titleSyriac" type="sort"/>
<field name="titleArabic" expression="descendant-or-self::tei:body" function="titleArabic" type="sort"/>
<field name="author" expression="descendant-or-self::tei:body" function="author" type="sort"/>
<!-- add display fields -->
<field name="keyword" expression="descendant-or-self::tei:body" function="fullText"/>
<field name="title" expression="ancestor::tei:TEI//tei:title" function="title"/>
<field name="author" expression="ancestor::tei:TEI//tei:author" function="author"/>
<field name="placeName" expression="descendant::tei:placeName"/>
<field name="persName" expression="descendant::tei:persName"/>
<field name="idno" expression="descendant::tei:idno"/>
</search-config>