-
Notifications
You must be signed in to change notification settings - Fork 3
/
schema.xml
31 lines (24 loc) · 1.3 KB
/
schema.xml
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
<?xml version="1.0" encoding="UTF-8" ?>
<schema name="basecorpus" version="2.0">
<field name="_version_" type="tlong" indexed="false" stored="false"/>
<field name="id" type="string" indexed="true" stored="true" required="true" multiValued="false" />
<field name="src_url" type="string" indexed="false" stored="true"/>
<field name="trg_url" type="string" indexed="false" stored="true"/>
<field name="src" type="text" indexed="true" stored="true" />
<field name="trg" type="text" indexed="true" stored="true" />
<field name="tags" type="string" indexed="true" stored="true" multiValued="true"/>
<field name="custom_score" type="tdouble" indexed="false" stored="true" />
<!-- primary key -->
<uniqueKey>id</uniqueKey>
<fieldType name="tlong" class="solr.TrieLongField" docValues="true"/>
<fieldType name="string" class="solr.StrField" sortMissingLast="true" />
<fieldType name="tdouble" class="solr.TrieDoubleField" docValues="true" />
<fieldType name="text" class="solr.TextField">
<analyzer>
<charFilter class="solr.MappingCharFilterFactory" mapping="light-mapping-FoldToASCII.txt"/>
<tokenizer class="solr.StandardTokenizerFactory"/>
<filter class="solr.LowerCaseFilterFactory"/>
</analyzer>
</fieldType>
<similarity class="solr.ClassicSimilarityFactory"/>
</schema>