| <?xml version="1.0" encoding="UTF-8" ?> |
| <!-- |
| 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. |
| --> |
| |
| <!-- |
| For more details about configurations options that may appear in |
| this file, see http://wiki.apache.org/solr/SolrConfigXml. |
| --> |
| <config> |
| <luceneMatchVersion>${tests.luceneMatchVersion:LUCENE_CURRENT}</luceneMatchVersion> |
| |
| <lib dir="../../contrib/velocity/lib" /> |
| <lib dir="../../dist/" regex="solr-velocity-\d.*\.jar" /> |
| <dataDir>${solr.data.dir:}</dataDir> |
| |
| |
| <directoryFactory name="DirectoryFactory" |
| class="${solr.directoryFactory:solr.StandardDirectoryFactory}"/> |
| |
| |
| <!-- <indexConfig> section could go here, but we want the defaults --> |
| |
| <updateHandler class="solr.DirectUpdateHandler2"> |
| </updateHandler> |
| |
| <query> |
| <maxBooleanClauses>1024</maxBooleanClauses> |
| <filterCache class="solr.FastLRUCache" |
| size="512" |
| initialSize="512" |
| autowarmCount="0"/> |
| <queryResultCache class="solr.LRUCache" |
| size="512" |
| initialSize="512" |
| autowarmCount="0"/> |
| <documentCache class="solr.LRUCache" |
| size="512" |
| initialSize="512" |
| autowarmCount="0"/> |
| <enableLazyFieldLoading>true</enableLazyFieldLoading> |
| |
| <queryResultWindowSize>20</queryResultWindowSize> |
| <queryResultMaxDocsCached>200</queryResultMaxDocsCached> |
| <listener event="newSearcher" class="solr.QuerySenderListener"> |
| <arr name="queries"> |
| </arr> |
| </listener> |
| <listener event="firstSearcher" class="solr.QuerySenderListener"> |
| <arr name="queries"> |
| <lst> |
| <str name="q">static firstSearcher warming in solrconfig.xml</str> |
| </lst> |
| </arr> |
| </listener> |
| <useColdSearcher>false</useColdSearcher> |
| <maxWarmingSearchers>2</maxWarmingSearchers> |
| |
| </query> |
| <requestDispatcher handleSelect="true" > |
| <requestParsers enableRemoteStreaming="true" |
| multipartUploadLimitInKB="2048000" /> |
| <httpCaching never304="true" /> |
| </requestDispatcher> |
| |
| <requestHandler name="search" class="solr.SearchHandler" default="true"> |
| <lst name="defaults"> |
| <str name="echoParams">explicit</str> |
| <int name="rows">10</int> |
| </lst> |
| </requestHandler> |
| |
| <requestHandler name="/update" class="solr.UpdateRequestHandler" /> |
| |
| <queryResponseWriter name="velocity" class="solr.VelocityResponseWriter"/> |
| |
| <!-- Legacy config for the admin interface --> |
| <admin> |
| <defaultQuery>*:*</defaultQuery> |
| </admin> |
| |
| </config> |