Schema Design section of the Solr Reference Guide.
-->
-<schema name="Local Unified Index" version="1.2">
- <types>
+<schema name="Local Unified Index" version="1.6">
+
<!-- stock Solr field types from the dist schema.xml -->
<fieldType name="string" class="solr.StrField" sortMissingLast="true" omitNorms="true"/>
<fieldType name="boolean" class="solr.BoolField" sortMissingLast="true" omitNorms="true"/>
<fieldtype name="ignored" stored="false" indexed="false" multiValued="true" class="solr.StrField" />
- </types>
+ <!-- defined fields in the lui-solr schema -->
- <fields>
<field name="id" type="string" indexed="true" stored="true" required="true" />
<field name="_version_" type="long" indexed="true" stored="true"/>
<field name="harvest-timestamp" type="date" indexed="true" stored="true"/>
<field name="harvest-date" type="string" indexed="true" stored="true"/>
- <!-- default search field, created by the cloneFields update
+ <!-- default search field, created by the clone-fields update
processor chain in solrconfig.xml -->
<field name="text" type="text" indexed="true" stored="false" multiValued="true"/>
<!-- catchall dynamic field -->
<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"/>