Schema Design section of the Solr Reference Guide.
-->
-<schema name="Local Unified Index" version="1.2">
+<schema name="Local Unified Index" version="1.6">
<types>
<!-- stock Solr field types from the dist schema.xml -->
<fieldType name="string" class="solr.StrField" sortMissingLast="true" omitNorms="true"/>
</fieldType>
<fieldtype name="ignored" stored="false" indexed="false" multiValued="true" class="solr.StrField" />
+
</types>
<fields>
<field name="harvest-timestamp" type="date" indexed="true" stored="true"/>
<field name="harvest-date" type="string" indexed="true" stored="true"/>
- <!-- catchall fields, can be implemented via copyField further on in this schema -->
+ <!-- default search field, created by the cloneFields update
+ processor chain in solrconfig.xml -->
<field name="text" type="text" indexed="true" stored="false" multiValued="true"/>
- <field name="text_rev" type="text_rev" indexed="true" stored="false" multiValued="true"/>
- <field name="payloads" type="payloads" indexed="true" stored="true"/>
<!-- Dynamic field definitions -->
<dynamicField name="*_i" type="int" indexed="true" stored="true"/>
<dynamicField name="*_path" type="text" indexed="true" stored="true" multiValued="true"/>
<!-- catchall dynamic field -->
- <dynamicField name="*" type="text" multiValued="true" />
+ <dynamicField name="*" type="text" multiValued="true"/>
</fields>
<uniqueKey>id</uniqueKey>
- <defaultSearchField>text</defaultSearchField>
-
- <solrQueryParser defaultOperator="AND"/>
-
<!-- copyField commands -->
<copyField source="author" dest="author_exact"/>
<copyField source="subject" dest="subject_exact"/>
<copyField source="medium" dest="medium_exact"/>
<copyField source="journal-title" dest="journal-title_exact"/>
- <!-- catchall to index all fields -->
- <copyField source="*" dest="text"/>
</schema>