root/main/branches/64_bit_Greenstone/greenstone3/web/sites/localsite/collect/lucene-jdbm-demo/etc/collectionConfig.xml @ 24007

Revision 24007, 5.2 KB (checked in by sjm84, 8 years ago)

Updating this branch to match the latest Greenstone3 changes

  • Property svn:executable set to *
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<CollectionConfig xmlns:gsf="http://www.greenstone.org/greenstone3/schema/ConfigFormat" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
3    <metadataList>
4        <metadata lang="en" name="creator"/>
5        <metadata lang="en" name="maintainer"/>
6        <metadata lang="en" name="public">true</metadata>
7    </metadataList>
8    <displayItemList>
9        <displayItem assigned="true" lang="en" name="description">This is a demonstration collection for the Greenstone3 digital library software. It contains a small subset (11 books) of the Humanitarian and Development Libraries. It is the Greenstone 3 equivalent of the Greenstone 2 demo collection, built with Lucene for indexing and JDBM as the database for metadata.</displayItem>
10        <displayItem assigned="true" lang="en" name="name">Lucene/JDBM demo</displayItem>
11    </displayItemList>
12    <search type="lucene">
13        <level name="section">
14            <displayItem lang="en" name="name">chapter</displayItem>
15        </level>
16        <level name="document">
17            <displayItem lang="en" name="name">book</displayItem>
18        </level>
19        <defaultLevel name="section"/>
20        <index name="allfields">
21            <displayItem lang="en" name="name">all fields</displayItem>
22        </index>
23        <index name="text">
24            <displayItem lang="en" name="name">text</displayItem>
25        </index>
26        <index name="dls.Title,Title">
27            <displayItem lang="en" name="name">titles</displayItem>
28        </index>
29        <index name="dls.Subject">
30            <displayItem lang="en" name="name">subjects</displayItem>
31        </index>
32        <index name="dls.Organization">
33            <displayItem lang="en" name="name">organisations</displayItem>
34        </index>
35        <indexOption>
36            <option name="accentfold"/>
37            <option name="casefold"/>
38            <option name="stem"/>
39        </indexOption>
40        <searchType name="plain"/>
41        <searchType name="simpleform"/>
42        <searchType name="advancedform"/>
43        <format><gsf:template match="documentNode"><td valign="top"><gsf:link type="document"><gsf:icon type="document"/></gsf:link></td><td><gsf:switch><gsf:metadata name="Title" select="ancestors" separator=": "/><gsf:when test="exists"><gsf:metadata name="Title" select="ancestors" separator=": "/>:</gsf:when></gsf:switch><gsf:link type="document"><gsf:metadata name="Title"/></gsf:link></td></gsf:template></format>
44    </search>
45    <infodb type="jdbm"/>
46    <import>
47        <pluginList>
48            <plugin name="GreenstoneXMLPlugin"/>
49            <plugin name="HTMLPlugin">
50                <option name="-description_tags"/>
51            </plugin>
52            <plugin name="MetadataXMLPlugin"/>
53            <plugin name="ArchivesInfPlugin"/>
54            <plugin name="DirectoryPlugin"/>
55        </pluginList>
56    </import>
57    <browse>
58        <classifier name="List">
59            <option name="-metadata" value="dls.Title"/>
60            <option name="-partition_type_within_level" value="constant_size"/>
61        </classifier>
62        <classifier name="Hierarchy">
63            <option name="-metadata" value="dls.Subject"/>
64            <option name="-sort" value="dls.Title"/>
65        </classifier>
66        <classifier name="List">
67            <option name="-metadata" value="dls.Organization"/>
68            <option name="-sort_leaf_nodes_using" value="dls.Title"/>
69            <option name="-partition_type_within_level" value="constant_size"/>
70            <option name="-bookshelf_type" value="always"/>
71            <option name="-buttonname" value="Organization"/>
72        </classifier>
73        <classifier name="List">
74            <option name="-metadata" value="dls.Keyword"/>
75            <option name="-buttonname" value="Howto"/>
76            <option name="-partition_type_within_level" value="constant_size"/>
77            <format><gsf:template match="documentNode"><td><gsf:link type="document"><gsf:metadata name="dls.Keyword"/></gsf:link></td></gsf:template><gsf:template match="classifierNode"><td><gsf:link type="classifier"><gsf:metadata name="Title"/></gsf:link></td></gsf:template></format>
78        </classifier>
79        <format><gsf:template match="documentNode"><td valign="top"><gsf:link type="document"><gsf:icon type="document"/></gsf:link></td><td valign="top"><gsf:metadata name="srclink"/><gsf:choose-metadata><gsf:metadata name="thumbicon"/><gsf:metadata name="srcicon"/></gsf:choose-metadata><gsf:metadata name="/srclink"/></td><td valign="top"><gsf:choose-metadata><gsf:metadata name="dc.Title"/><gsf:metadata name="exp.Title"/><gsf:metadata name="Title"/><gsf:default>Untitled</gsf:default></gsf:choose-metadata><gsf:switch><gsf:metadata name="Source"/><gsf:when test="exists"><br/><i>(<gsf:metadata name="Source"/>)</i></gsf:when></gsf:switch></td></gsf:template><gsf:template match="classifierNode"><td valign="top"><gsf:link type="classifier"><gsf:icon type="classifier"/></gsf:link></td><td><gsf:metadata name="Title"/></td></gsf:template><gsf:template match="classifierNode" mode="horizontal"><gsf:link type="horizontal"><gsf:metadata name="Title"/></gsf:link></gsf:template></format>
80    </browse>
81    <display>
82        <format><gsf:option name="TOC" value="true"/></format>
83    </display>
84    <replaceListRef id="gs2-standard"/>
85</CollectionConfig>
Note: See TracBrowser for help on using the browser.