<?xml version="1.0" encoding="UTF-8" ?>
<schema name="metabase" version="1.1">
<types>
<fieldType name="string" class="solr.StrField" sortMissingLast="true" omitNorms="true"/>
<fieldType name="boolean" class="solr.BoolField" sortMissingLast="true" omitNorms="true"/>
<fieldType name="integer" class="solr.IntField" omitNorms="true"/>
<fieldType name="long" class="solr.LongField" omitNorms="true"/>
<fieldType name="float" class="solr.FloatField" omitNorms="true"/>
<fieldType name="double" class="solr.DoubleField" omitNorms="true"/>
<fieldType name="sint" class="solr.SortableIntField" sortMissingLast="true" omitNorms="true"/>
<fieldType name="slong" class="solr.SortableLongField" sortMissingLast="true" omitNorms="true"/>
<fieldType name="sfloat" class="solr.SortableFloatField" sortMissingLast="true" omitNorms="true"/>
<fieldType name="sdouble" class="solr.SortableDoubleField" sortMissingLast="true" omitNorms="true"/>
<fieldType name="date" class="solr.DateField" sortMissingLast="true" omitNorms="true"/>
<fieldtype name="ignored" stored="false" indexed="false" class="solr.StrField" />
</types>
<fields>
<!-- Valid attributes for fields:
name: mandatory - the name for the field
type: mandatory - the name of a previously defined type from the <types> section
indexed: true if this field should be indexed (searchable or sortable)
stored: true if this field should be retrievable
compressed: [false] if this field should be stored using gzip compression
(this will only apply if the field type is compressable; among
the standard field types, only TextField and StrField are)
multiValued: true if this field may contain multiple values per document
omitNorms: (expert) set to true to omit the norms associated with
this field (this disables length normalization and index-time
boosting for the field, and saves some memory). Only full-text
fields or fields that need an index-time boost need norms.
termVectors: [false] set to true to store the term vector for a given field.
When using MoreLikeThis, fields used for similarity should be stored for
best performance.
-->
<field name="core.guid_s" type="string" indexed="true" stored="true" required="true" />
<field name="core.type_s" type="string" indexed="true" stored="false" required="true" />
<field name="core.schema_version_i" type="sint" indexed="true" stored="false" required="true" />
<field name="core.created_at_i" type="sint" indexed="true" stored="false" required="true" />
<!--
<field name="timestamp" type="date" indexed="true" stored="true" default="NOW" multiValued="false"/>
-->
<dynamicField name="*_i" type="sint" indexed="true" stored="false"/>
<dynamicField name="*_s" type="string" indexed="true" stored="false"/>
<dynamicField name="*_l" type="slong" indexed="true" stored="false"/>
<dynamicField name="*_t" type="string" indexed="true" stored="false"/>
<dynamicField name="*_b" type="boolean" indexed="true" stored="false"/>
<dynamicField name="*_f" type="sfloat" indexed="true" stored="false"/>
<dynamicField name="*_d" type="sdouble" indexed="true" stored="false"/>
<dynamicField name="*_dt" type="date" indexed="true" stored="false"/>
</fields>
<uniqueKey>core.guid_s</uniqueKey>
<defaultSearchField>core.guid_s</defaultSearchField>
<solrQueryParser defaultOperator="AND"/>
</schema>