mirror of https://github.com/apache/lucene.git
SOLR-4952: TestSolrDeletionPolicy1 can't directly use solrconfig.snippet.randomindexconfig.xml - but it can leverage the random sys props directly
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1511128 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b5152fcfc2
commit
e778f261ad
|
@ -25,7 +25,22 @@
|
||||||
<requestHandler name="standard" class="solr.StandardRequestHandler"/>
|
<requestHandler name="standard" class="solr.StandardRequestHandler"/>
|
||||||
|
|
||||||
<indexConfig>
|
<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.
|
||||||
|
-->
|
||||||
|
<mergePolicy class="${solr.tests.mergePolicy:org.apache.solr.util.RandomMergePolicy}" />
|
||||||
<useCompoundFile>${useCompoundFile:false}</useCompoundFile>
|
<useCompoundFile>${useCompoundFile:false}</useCompoundFile>
|
||||||
|
|
||||||
|
<maxBufferedDocs>${solr.tests.maxBufferedDocs}</maxBufferedDocs>
|
||||||
|
<maxIndexingThreads>${solr.tests.maxIndexingThreads}</maxIndexingThreads>
|
||||||
|
<ramBufferSizeMB>${solr.tests.ramBufferSizeMB}</ramBufferSizeMB>
|
||||||
|
|
||||||
|
<mergeScheduler class="${solr.tests.mergeScheduler}" />
|
||||||
|
|
||||||
|
<lockType>single</lockType>
|
||||||
|
|
||||||
|
|
||||||
<deletionPolicy class="solr.SolrDeletionPolicy">
|
<deletionPolicy class="solr.SolrDeletionPolicy">
|
||||||
<str name="keepOptimizedOnly">true</str>
|
<str name="keepOptimizedOnly">true</str>
|
||||||
<str name="maxCommitsToKeep">3</str>
|
<str name="maxCommitsToKeep">3</str>
|
||||||
|
|
Loading…
Reference in New Issue