mirror of https://github.com/apache/lucene.git
SOLR-4952: TestSolrDeletionPolicy2 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@1511138 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c19a5527d8
commit
a4d0cd434f
|
@ -21,7 +21,22 @@
|
||||||
<luceneMatchVersion>${tests.luceneMatchVersion:LUCENE_CURRENT}</luceneMatchVersion>
|
<luceneMatchVersion>${tests.luceneMatchVersion:LUCENE_CURRENT}</luceneMatchVersion>
|
||||||
<directoryFactory name="DirectoryFactory" class="${solr.directoryFactory:solr.RAMDirectoryFactory}"/>
|
<directoryFactory name="DirectoryFactory" class="${solr.directoryFactory:solr.RAMDirectoryFactory}"/>
|
||||||
<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="org.apache.solr.core.FakeDeletionPolicy">
|
<deletionPolicy class="org.apache.solr.core.FakeDeletionPolicy">
|
||||||
<str name="var1">value1</str>
|
<str name="var1">value1</str>
|
||||||
<str name="var2">value2</str>
|
<str name="var2">value2</str>
|
||||||
|
|
Loading…
Reference in New Issue