| <?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. |
| --> |
| |
| <!-- The Solr schema file, version 1.6 --> |
| |
| <schema name="schema-protected-term" version="1.6"> |
| <fieldType name="string" class="solr.StrField" sortMissingLast="true"/> |
| <field name="id" type="string" indexed="true" stored="true" multiValued="false" required="true"/> |
| <field name="signatureField" type="string" indexed="true" stored="false"/> |
| <dynamicField name="*_sS" type="string" indexed="false" stored="true"/> |
| |
| <fieldType name="long" class="${solr.tests.LongFieldType}" docValues="${solr.tests.numeric.dv}" precisionStep="0" positionIncrementGap="0"/> |
| <field name="_version_" type="long" indexed="false" stored="false" docValues="true"/> |
| |
| <fieldType name="prefix4_lower_with_exceptions" class="solr.TextField"> |
| <analyzer type="index"> |
| <tokenizer class="solr.MockTokenizerFactory"/> |
| <filter class="solr.ProtectedTermFilterFactory" ignoreCase="true" |
| protected="protected-1.txt,protected-2.txt" |
| wrappedFilters="truncate,lowercase" truncate.prefixLength="4"/> |
| </analyzer> |
| <analyzer type="query"> |
| <tokenizer class="solr.MockTokenizerFactory"/> |
| </analyzer> |
| </fieldType> |
| <field name="prefix4_lower" type="prefix4_lower_with_exceptions" indexed="true" stored="true" multiValued="true"/> |
| |
| <fieldType name="prefix3_rev_prefix2_with_exceptions" class="solr.TextField"> |
| <analyzer type="index"> |
| <tokenizer class="solr.MockTokenizerFactory"/> |
| <filter class="solr.ProtectedTermFilterFactory" ignoreCase="true" |
| protected="protected-1.txt,protected-2.txt" |
| wrappedFilters="truncate-A, reversestring, truncate-B" |
| truncate-A.prefixLength="3" truncate-B.prefixLength="2"/> |
| </analyzer> |
| <analyzer type="query"> |
| <tokenizer class="solr.MockTokenizerFactory"/> |
| </analyzer> |
| </fieldType> |
| <field name="prefix3_rev_prefix2" type="prefix3_rev_prefix2_with_exceptions" indexed="true" stored="true" multiValued="true"/> |
| |
| <fieldType name="prefix3_rev_prefix2_mixed_IDs_with_exceptions" class="solr.TextField"> |
| <analyzer type="index"> |
| <tokenizer class="solr.MockTokenizerFactory"/> |
| <filter class="solr.ProtectedTermFilterFactory" ignoreCase="true" |
| protected="protected-1.txt,protected-2.txt" |
| wrappedFilters="truncate, reversestring, truncate-A" |
| truncate.prefixLength="3" truncate-A.prefixLength="2"/> |
| </analyzer> |
| <analyzer type="query"> |
| <tokenizer class="solr.MockTokenizerFactory"/> |
| </analyzer> |
| </fieldType> |
| <field name="prefix3_rev_prefix2_mixed_IDs" type="prefix3_rev_prefix2_mixed_IDs_with_exceptions" indexed="true" stored="true" multiValued="true"/> |
| |
| <fieldType name="prefix3_rev_prefix2_mixed_case_with_exceptions" class="solr.TextField"> |
| <analyzer type="index"> |
| <tokenizer class="solr.MockTokenizerFactory"/> |
| <filter class="solr.ProtectedTermFilterFactory" ignoreCase="true" |
| protected="protected-1.txt,protected-2.txt" |
| wrappedFilters="TRUNCATE-a, reversestring, truncate-b" |
| truncate-A.prefixLength="3" TRUNCATE-B.prefixLength="2"/> |
| </analyzer> |
| <analyzer type="query"> |
| <tokenizer class="solr.MockTokenizerFactory"/> |
| </analyzer> |
| </fieldType> |
| <field name="prefix3_rev_prefix2_mixed_case" type="prefix3_rev_prefix2_mixed_case_with_exceptions" indexed="true" stored="true" multiValued="true"/> |
| |
| <uniqueKey>id</uniqueKey> |
| </schema> |