| <?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> |
| <directoryFactory name="DirectoryFactory" class="${solr.directoryFactory:solr.RAMDirectoryFactory}"/> |
| <schemaFactory class="ClassicIndexSchemaFactory"/> |
| <indexConfig> |
| |
| <!-- we can't include solrconfig.snippet.randomindexconfig.xml because we need |
| to configure an explicit deletion policy, but we still wnat to randomize as much |
| as possible. |
| --> |
| <mergePolicyFactory class="${solr.tests.mergePolicyFactory:org.apache.solr.util.RandomMergePolicyFactory}" /> |
| <useCompoundFile>${useCompoundFile:false}</useCompoundFile> |
| |
| <maxBufferedDocs>${solr.tests.maxBufferedDocs}</maxBufferedDocs> |
| <ramBufferSizeMB>${solr.tests.ramBufferSizeMB}</ramBufferSizeMB> |
| |
| <mergeScheduler class="${solr.tests.mergeScheduler}" /> |
| |
| <lockType>single</lockType> |
| |
| <deletionPolicy class="org.apache.solr.core.FakeDeletionPolicy"> |
| <str name="var1">value1</str> |
| <str name="var2">value2</str> |
| </deletionPolicy> |
| </indexConfig> |
| |
| <requestHandler name="/select" class="solr.SearchHandler"></requestHandler> |
| </config> |
| |