/[sdx]/demos/quran/conf/application.xconf
ViewVC logotype

Contents of /demos/quran/conf/application.xconf

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Mon Jan 19 21:33:55 2004 UTC (20 years, 3 months ago) by brihaye
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +10 -10 lines
Forced analyzer for fields.

1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Copyright (C) 2003, Pierrick Brihaye
4 pierrick.brihaye@wanadoo.fr
5
6 This program is free software; you can redistribute it and/or
7 modify it under the terms of the GNU General Public License
8 as published by the Free Software Foundation; either version 2
9 of the License, or (at your option) any later version.
10
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
14 See the GNU General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with this program; if not, write to the
18 Free Software Foundation, Inc.
19 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
20 or connect to:
21 http://www.fsf.org/copyleft/gpl.html
22 -->
23 <sdx:application xmlns:sdx="http://www.culture.gouv.fr/ns/sdx/sdx" id="pierrick.brihaye.quran" xml:lang="fr-FR" xmlns="http://www.culture.gouv.fr/ns/sdx/sdx">
24 <sdx:userDocumentBase>
25 <sdx:repositories>
26 <sdx:repository id="users" type="FS" baseDirectory="users/xml" depth="0" extent="1000"/>
27 </sdx:repositories>
28 <sdx:fieldList xml:lang="fr-FR" variant="">
29 <sdx:field name="name" type="field" brief="true"/>
30 <sdx:field name="firstname" type="field" brief="true"/>
31 <sdx:field name="lastname" type="field" brief="true"/>
32 <sdx:field name="description" type="word"/>
33 <sdx:field name="lang" type="field" brief="true"/>
34 <sdx:field name="variant" type="field" brief="true"/>
35 <sdx:field name="email" type="field" brief="true"/>
36 <sdx:field name="content" type="word" default="true">
37 <sdx:name xml:lang="fr-FR">Texte intégral</sdx:name>
38 </sdx:field>
39 </sdx:fieldList>
40 <sdx:index>
41 <sdx:pipeline>
42 <sdx:transformation id="index-identity" type="XSLT" src="/sdx/resources/indexation/index-identity.xsl"/>
43 </sdx:pipeline>
44 </sdx:index>
45 </sdx:userDocumentBase>
46 <sdx:admin groupId="admins" userId="admin" userPassword=""/>
47 <sdx:documentBases>
48 <sdx:documentBase id="ar" type="lucene" default="true" keepOriginalDocuments="true">
49 <sdx:queryParser class="fr.gouv.culture.sdx.search.lucene.queryparser.ZeroPositionIncrementTokenQueryParser"/>
50 <sdx:repositories>
51 <sdx:repository id="arabicrepo" type="FS" baseDirectory="arabicrepo" depth="0" extent="100" default="true"/>
52 </sdx:repositories>
53 <sdx:fieldList analyzerClass="fr.gouv.culture.sdx.search.lucene.analysis.Analyzer_ar">
54 <sdx:field name="content" type="word" default="true" analyzerClass="fr.gouv.culture.sdx.search.lucene.analysis.Analyzer_ar">
55 <sdx:name xml:lang="fr-FR">Contenu</sdx:name>
56 </sdx:field>
57 <sdx:field name="sura" type="field" brief="true" analyzerClass="fr.gouv.culture.sdx.search.lucene.analysis.Analyzer_ar">
58 <sdx:name xml:lang="fr-FR">Sourate</sdx:name>
59 </sdx:field>
60 <sdx:field name="name" type="field" brief="true" analyzerClass="fr.gouv.culture.sdx.search.lucene.analysis.Analyzer_ar">
61 <sdx:name xml:lang="fr-FR">Nom</sdx:name>
62 </sdx:field>
63 <sdx:field name="verse" type="field" brief="true" analyzerClass="fr.gouv.culture.sdx.search.lucene.analysis.Analyzer_ar">
64 <sdx:name xml:lang="fr-FR">Verset</sdx:name>
65 </sdx:field>
66 </sdx:fieldList>
67 <sdx:index>
68 <sdx:pipeline>
69 <sdx:transformation id="indexer-arabic" type="XSLT" src="indexer.xsl"/>
70 </sdx:pipeline>
71 </sdx:index>
72 </sdx:documentBase>
73 <sdx:documentBase id="en" type="lucene" keepOriginalDocuments="true">
74 <sdx:queryParser class="fr.gouv.culture.sdx.search.lucene.queryparser.ZeroPositionIncrementTokenQueryParser"/>
75 <sdx:repositories>
76 <sdx:repository id="englishrepo" type="FS" baseDirectory="englishrepo" depth="0" extent="100" default="true"/>
77 </sdx:repositories>
78 <sdx:fieldList analyzerClass="fr.gouv.culture.sdx.search.lucene.analysis.Glosser_ar_en">
79 <sdx:field name="content" type="word" default="true" analyzerClass="fr.gouv.culture.sdx.search.lucene.analysis.Glosser_ar_en">
80 <sdx:name xml:lang="fr-FR">Contenu</sdx:name>
81 </sdx:field>
82 <sdx:field name="sura" type="field" brief="true" analyzerClass="fr.gouv.culture.sdx.search.lucene.analysis.Glosser_ar_en">
83 <sdx:name xml:lang="fr-FR">Sourate</sdx:name>
84 </sdx:field>
85 <sdx:field name="name" type="field" brief="true" analyzerClass="fr.gouv.culture.sdx.search.lucene.analysis.Glosser_ar_en">
86 <sdx:name xml:lang="fr-FR">Nom</sdx:name>
87 </sdx:field>
88 <sdx:field name="verse" type="field" brief="true" analyzerClass="fr.gouv.culture.sdx.search.lucene.analysis.Glosser_ar_en">
89 <sdx:name xml:lang="fr-FR">Verset</sdx:name>
90 </sdx:field>
91 </sdx:fieldList>
92 <sdx:index>
93 <sdx:pipeline>
94 <sdx:transformation id="indexer-english" type="XSLT" src="indexer.xsl"/>
95 </sdx:pipeline>
96 </sdx:index>
97 </sdx:documentBase>
98 </sdx:documentBases>
99 </sdx:application>

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26