org.apache.solr.util

## Class RandomForceMergePolicyFactory

- java.lang.Object
- - org.apache.solr.index.MergePolicyFactory
  - - org.apache.solr.util.RandomForceMergePolicyFactory

-     public final class RandomForceMergePolicyFactory
      extends org.apache.solr.index.MergePolicyFactory

  A `MergePolicyFactory` for `RandomForceMergePolicy`.

- - ### Field Summary

    - ### Fields inherited from class org.apache.solr.index.MergePolicyFactory

      `args, resourceLoader, schema`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `RandomForceMergePolicyFactory(org.apache.solr.core.SolrResourceLoader resourceLoader, org.apache.solr.index.MergePolicyFactoryArgs args, org.apache.solr.schema.IndexSchema schema)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `org.apache.lucene.index.MergePolicy` | `getMergePolicy()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### RandomForceMergePolicyFactory

          public RandomForceMergePolicyFactory(org.apache.solr.core.SolrResourceLoader resourceLoader,
                                               org.apache.solr.index.MergePolicyFactoryArgs args,
                                               org.apache.solr.schema.IndexSchema schema)

  - ### Method Detail

    - #### getMergePolicy

          public org.apache.lucene.index.MergePolicy getMergePolicy()

      Specified by:
        `getMergePolicy` in class `org.apache.solr.index.MergePolicyFactory`

Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.