-
Notifications
You must be signed in to change notification settings - Fork 0
/
twitter.xml
31 lines (27 loc) · 1.54 KB
/
twitter.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="twitter" version="1.5">
<fields>
<field name="tweet" type="string" indexed="true" stored="false"/>
<field name="user" type="string" indexed="true" stored="false"/>
<field name="time" type="date" indexed="true" stored="false"/>
<!-- All of these fields are required by Riak Search -->
<field name="_yz_id" type="_yz_str" indexed="true" stored="true" required="true"/>
<field name="_yz_ed" type="_yz_str" indexed="true" stored="false"/>
<field name="_yz_pn" type="_yz_str" indexed="true" stored="false"/>
<field name="_yz_fpn" type="_yz_str" indexed="true" stored="false"/>
<field name="_yz_vtag" type="_yz_str" indexed="true" stored="false"/>
<field name="_yz_rk" type="_yz_str" indexed="true" stored="true"/>
<field name="_yz_rt" type="_yz_str" indexed="true" stored="true"/>
<field name="_yz_rb" type="_yz_str" indexed="true" stored="true"/>
<field name="_yz_err" type="_yz_str" indexed="true" stored="false"/>
</fields>
<uniqueKey>_yz_id</uniqueKey>
<types>
<!-- YZ String: Used for non-analyzed fields -->
<fieldType name="_yz_str" class="solr.StrField" sortMissingLast="true" />
<fieldType name="string" class="solr.StrField" sortMissingLast="true" />
<fieldType name="boolean" class="solr.BoolField" sortMissingLast="true"/>
<fieldType name="int" class="solr.TrieIntField" precisionStep="0" positionIncrementGap="0"/>
<fieldType name="date" class="solr.DateField" sortMissingLast="true" omitNorms="true"/>
</types>
</schema>