Package org.apache.solr.util
Class RandomMergePolicy
- java.lang.Object
-
- org.apache.lucene.index.MergePolicy
-
- org.apache.lucene.index.FilterMergePolicy
-
- org.apache.solr.util.RandomMergePolicy
-
- Direct Known Subclasses:
RandomForceMergePolicy
public class RandomMergePolicy extends org.apache.lucene.index.FilterMergePolicy
AMergePolicy
with a no-arg constructor that proxies to an instance retrieved fromLuceneTestCase.newMergePolicy(java.util.Random)
. Solr tests utilizing the Lucene randomized test framework can refer to this class in solrconfig.xml to get a fully randomized merge policy.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.lucene.index.MergePolicy
org.apache.lucene.index.MergePolicy.MergeAbortedException, org.apache.lucene.index.MergePolicy.MergeContext, org.apache.lucene.index.MergePolicy.MergeException, org.apache.lucene.index.MergePolicy.MergeSpecification, org.apache.lucene.index.MergePolicy.OneMerge, org.apache.lucene.index.MergePolicy.OneMergeProgress
-
-
Constructor Summary
Constructors Modifier Constructor Description RandomMergePolicy()
protected
RandomMergePolicy(org.apache.lucene.index.MergePolicy inner)
-
Method Summary
-
Methods inherited from class org.apache.lucene.index.FilterMergePolicy
findForcedDeletesMerges, findForcedMerges, findFullFlushMerges, findMerges, getMaxCFSSegmentSizeMB, getNoCFSRatio, keepFullyDeletedSegment, numDeletesToMerge, setMaxCFSSegmentSizeMB, setNoCFSRatio, size, toString, useCompoundFile
-
-