| <?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> |
| |
| <dataDir>${solr.data.dir:}</dataDir> |
| |
| <directoryFactory name="DirectoryFactory" |
| class="${solr.directoryFactory:solr.NRTCachingDirectoryFactory}"/> |
| |
| <schemaFactory class="ClassicIndexSchemaFactory"/> |
| |
| <luceneMatchVersion>${tests.luceneMatchVersion:LATEST}</luceneMatchVersion> |
| |
| <xi:include href="solrconfig.snippet.randomindexconfig.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> |
| |
| <searchComponent name="delayingSearchComponent" |
| class="org.apache.solr.search.DelayingSearchComponent"/> |
| |
| <requestHandler name="/delayed" class="solr.SearchHandler"> |
| <arr name="first-components"> |
| <str>delayingSearchComponent</str> |
| </arr> |
| </requestHandler> |
| |
| <updateHandler class="solr.DirectUpdateHandler2"> |
| <updateLog> |
| <str name="dir">${solr.ulog.dir:}</str> |
| </updateLog> |
| </updateHandler> |
| |
| <!-- deep paging better play nice with caching --> |
| <query> |
| <!-- no autowarming, it screws up our ability to sanity check cache stats in tests --> |
| <filterCache size="50" initialSize="50" autowarmCount="0"/> |
| <queryResultCache size="50" initialSize="50" autowarmCount="0"/> |
| <queryResultWindowSize>50</queryResultWindowSize> |
| <queryResultMaxDocsCached>500</queryResultMaxDocsCached> |
| <!-- randomized so we exercise cursors using various paths in SolrIndexSearcher --> |
| <useFilterForSortedQuery>${solr.test.useFilterForSortedQuery}</useFilterForSortedQuery> |
| </query> |
| |
| <requestHandler name="/select" class="solr.SearchHandler" default="true" /> |
| |
| <!-- elevation should have no (adverse) impact on deep paging --> |
| <searchComponent name="elevate" class="org.apache.solr.handler.component.QueryElevationComponent" > |
| <!-- NOTE: we don't particularly care about the elevate.xml or queryFieldType used, |
| deep paging tests will only worry about using elevateIds. |
| --> |
| <str name="queryFieldType">str</str> |
| <str name="config-file">elevate.xml</str><!-- neccessary due to SOLR-14970 --> |
| </searchComponent> |
| <requestHandler name="/elevate" class="solr.SearchHandler"> |
| <arr name="last-components"> |
| <str>elevate</str> |
| </arr> |
| </requestHandler> |
| |
| </config> |