| <?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. |
| --> |
| |
| <config> |
| <luceneMatchVersion>${tests.luceneMatchVersion:LATEST}</luceneMatchVersion> |
| |
| <xi:include href="solrconfig.snippet.randomindexconfig.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> |
| |
| <schemaFactory class="ManagedIndexSchemaFactory"> |
| <bool name="mutable">${managed.schema.mutable}</bool> |
| <str name="managedSchemaResourceName">${managed.schema.resourceName:managed-schema}</str> |
| </schemaFactory> |
| |
| <codecFactory class="solr.SchemaCodecFactory"/> |
| |
| <requestDispatcher> |
| <!-- Tests rely on stream.body --> |
| <requestParsers enableStreamBody="true" /> |
| </requestDispatcher> |
| |
| <query> |
| <filterCache |
| enabled="${filterCache.enabled:false}" |
| size="512" |
| initialSize="512" |
| autowarmCount="2"/> |
| |
| <queryResultCache |
| enabled="${queryResultCache.enabled:false}" |
| size="512" |
| initialSize="512" |
| autowarmCount="2"/> |
| |
| <documentCache |
| enabled="${documentCache.enabled:false}" |
| size="512" |
| initialSize="512" |
| autowarmCount="0"/> |
| |
| <enableLazyFieldLoading>${enableLazyFieldLoading:false}</enableLazyFieldLoading> |
| </query> |
| |
| <updateHandler> |
| <updateLog enable="${enable.update.log}"> |
| <str name="dir">${solr.ulog.dir:}</str> |
| </updateLog> |
| </updateHandler> |
| |
| <requestHandler name="/select" class="solr.SearchHandler"> |
| <bool name="httpCaching">true</bool> |
| </requestHandler> |
| |
| |
| <requestHandler name="/dump" class="DumpRequestHandler" initParams="a" registerPath="/solr,/v2"> |
| <lst name="defaults"> |
| <str name="a">${my.custom.variable.a:A}</str> |
| <str name="b">${my.custom.variable.b:B}</str> |
| </lst> |
| </requestHandler> |
| |
| <initParams path="/select"> |
| <lst name="defaults"> |
| <str name="df">text</str> |
| </lst> |
| </initParams> |
| |
| </config> |