| <?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. |
| --> |
| |
| <!-- used by TestConfig to tests a few misc things relating to: |
| * lib dirs |
| * property substitution |
| * "gettableFiles" option |
| --> |
| <config> |
| <luceneMatchVersion>${tests.luceneMatchVersion:LATEST}</luceneMatchVersion> |
| <xi:include href="solrconfig.snippet.randomindexconfig.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> |
| <directoryFactory name="DirectoryFactory" class="${solr.directoryFactory:solr.RAMDirectoryFactory}"/> |
| <schemaFactory class="ClassicIndexSchemaFactory"/> |
| |
| <!-- see TestConfig.testAutomaticDeprecationSupport --> |
| <admin> |
| <defaultQuery>solr</defaultQuery> |
| <gettableFiles>solrconfig.xml schema.xml</gettableFiles> |
| </admin> |
| |
| <!-- see TestConfig.testLib() --> |
| <lib dir="../../lib-dirs/a" /> |
| <lib dir="../../lib-dirs/b" regex="b." /> |
| <lib dir="../../lib-dirs/c" regex="c1" /> |
| <lib path="../../lib-dirs/d/d1/" /> |
| |
| <!-- see TestConfig.testJavaProperty --> |
| <propTest attr1="${solr.test.sys.prop1}-$${literal}" |
| attr2="${non.existent.sys.prop:default-from-config}">prefix-${solr.test.sys.prop2}-suffix</propTest> |
| |
| <!-- see TestConfig.testDisableRequetsHandler --> |
| <requestHandler name="/disabled" class="solr.SearchHandler" enable="false"/> |
| <requestHandler name="/enabled" class="solr.SearchHandler" enable="true"/> |
| |
| |
| |
| </config> |