| <?xml version="1.0" ?> |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to You under the Apache License, Version 2.0 |
| (the "License"); you may not use this file except in compliance with |
| the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| |
| <schema name="add-schema-fields-update-processor" version="1.5"> |
| <types> |
| <fieldType name="tint" class="solr.TrieIntField" precisionStep="8" multiValued="true" positionIncrementGap="0"/> |
| <fieldType name="tfloat" class="solr.TrieFloatField" precisionStep="8" multiValued="true" positionIncrementGap="0"/> |
| <fieldType name="tlong" class="solr.TrieLongField" precisionStep="8" multiValued="true" positionIncrementGap="0"/> |
| <fieldType name="tdouble" class="solr.TrieDoubleField" precisionStep="8" multiValued="true" positionIncrementGap="0"/> |
| <fieldType name="tdate" class="solr.TrieDateField" precisionStep="6" multiValued="true" positionIncrementGap="0"/> |
| <fieldtype name="boolean" class="solr.BoolField" sortMissingLast="true" multiValued="true"/> |
| <fieldtype name="string" class="solr.StrField" sortMissingLast="true"/> |
| <fieldType name="long" class="solr.TrieLongField" precisionStep="0" positionIncrementGap="0"/> |
| <fieldType name="text" class="solr.TextField" multiValued="true" positionIncrementGap="100"> |
| <analyzer> |
| <tokenizer class="solr.StandardTokenizerFactory"/> |
| <filter class="solr.LowerCaseFilterFactory"/> |
| </analyzer> |
| </fieldType> |
| </types> |
| <fields> |
| <field name="id" type="string" indexed="true" stored="true" multiValued="false" required="true"/> |
| <field name="_version_" type="long" indexed="true" stored="true"/> |
| |
| <dynamicField name="*_t" type="text" indexed="true" stored="true"/> |
| <dynamicField name="*_ti" type="tint" indexed="true" stored="true"/> |
| <dynamicField name="*_tl" type="tlong" indexed="true" stored="true"/> |
| <dynamicField name="*_tf" type="tfloat" indexed="true" stored="true"/> |
| <dynamicField name="*_td" type="tdouble" indexed="true" stored="true"/> |
| <dynamicField name="*_tdt" type="tdate" indexed="true" stored="true"/> |
| </fields> |
| |
| <uniqueKey>id</uniqueKey> |
| </schema> |