schema.xml
1.89 KB
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<?xml version="1.0" encoding="UTF-8" ?>
<schema name="nederlab" version="1.6">
<uniqueKey>id</uniqueKey>
<fieldType name="binary" class="solr.BinaryField" />
<fieldType name="boolean" class="solr.BoolField"
sortMissingLast="true" />
<fieldType name="date" class="solr.TrieDateField"
positionIncrementGap="0" precisionStep="0" />
<fieldType name="double" class="solr.TrieDoubleField"
positionIncrementGap="0" precisionStep="0" />
<fieldType name="float" class="solr.TrieFloatField"
positionIncrementGap="0" precisionStep="0" />
<fieldType name="int" class="solr.TrieIntField"
positionIncrementGap="0" precisionStep="0" />
<fieldType name="long" class="solr.TrieLongField"
positionIncrementGap="0" precisionStep="0" />
<fieldType name="string" class="solr.StrField"
sortMissingLast="true" />
<fieldType name="text" class="solr.TextField"
positionIncrementGap="100">
<analyzer type="index">
<tokenizer class="solr.StandardTokenizerFactory" />
<filter class="solr.LowerCaseFilterFactory" />
</analyzer>
<analyzer type="query">
<tokenizer class="solr.StandardTokenizerFactory" />
<filter class="solr.LowerCaseFilterFactory" />
</analyzer>
</fieldType>
<fieldType name="mtas" class="solr.TextField" postingsFormat="MtasCodec">
<analyzer type="index">
<charFilter class="mtas.analysis.util.MtasCharFilterFactory"
type="file" />
<tokenizer class="mtas.analysis.util.MtasTokenizerFactory"
configFile="folia.xml" />
</analyzer>
</fieldType>
<field name="id" type="string" multiValued="false" indexed="true"
required="true" stored="true" />
<field name="_version_" type="long" indexed="true" stored="true" />
<field name="title" type="string" indexed="true" stored="true" />
<field name="text" type="string" indexed="true" stored="true" />
<field name="mtas" type="mtas" indexed="true" stored="true" />
</schema>