| <?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. |
| --> |
| <!-- |
| Striped down solrconfig used by SampleTest to demonstrate picking any |
| config filename you want. |
| |
| --> |
| |
| <config> |
| <luceneMatchVersion>${tests.luceneMatchVersion:LATEST}</luceneMatchVersion> |
| |
| <xi:include href="collection1/conf/solrconfig.snippet.randomindexconfig.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> |
| |
| <updateHandler class="solr.DirectUpdateHandler2"/> |
| |
| <schemaFactory class="ClassicIndexSchemaFactory"/> |
| |
| <query> |
| <maxBooleanClauses>${solr.max.booleanClauses:1024}</maxBooleanClauses> |
| <useFilterForSortedQuery>true</useFilterForSortedQuery> |
| <queryResultWindowSize>10</queryResultWindowSize> |
| <boolTofilterOptimizer enabled="true" cacheSize="32" threshold=".05"/> |
| </query> |
| |
| <requestDispatcher> |
| <requestParsers enableStreamBody="true" /> |
| </requestDispatcher> |
| |
| <requestHandler name="/select" class="solr.SearchHandler" /> |
| <requestHandler name="/crazy_custom_qt" class="solr.SearchHandler"> |
| <lst name="defaults"> |
| <str name="fl">implicit</str> |
| <str name="df">subject</str> |
| </lst> |
| </requestHandler> |
| |
| <queryResponseWriter name="standard" class="solr.XMLResponseWriter"/> |
| <queryResponseWriter name="useless" class="org.apache.solr.OutputWriterTest$UselessOutputWriter" startup="lazy"/> |
| <queryResponseWriter name="xslt" class="solr.XSLTResponseWriter"/> |
| |
| <admin> |
| <defaultQuery>solr</defaultQuery> |
| <gettableFiles>solrconfig.xml schema.xml</gettableFiles> |
| </admin> |
| |
| <initParams path="/select,/crazy_custom_qt"> |
| <lst name="defaults"> |
| <str name="df">subject</str> |
| </lst> |
| </initParams> |
| |
| </config> |