org.apache.solr.index

## Class MergePolicyFactory

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

- Direct Known Subclasses:
    DefaultMergePolicyFactory, SimpleMergePolicyFactory, WrapperMergePolicyFactory

      public abstract class MergePolicyFactory
      extends Object

  A factory for creating a `MergePolicy`.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected MergePolicyFactoryArgs` | `args`
    `protected SolrResourceLoader` | `resourceLoader`
    `protected IndexSchema` | `schema`

  - ### Constructor Summary

    Constructors
    Modifier | Constructor and Description
    --- | ---
    `protected` | `MergePolicyFactory(SolrResourceLoader resourceLoader, MergePolicyFactoryArgs args, IndexSchema schema)`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `abstract MergePolicy` | `getMergePolicy()`

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

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

- - ### Field Detail

    - #### schema

          protected final IndexSchema schema

    - #### args

          protected final MergePolicyFactoryArgs args

    - #### resourceLoader

          protected final SolrResourceLoader resourceLoader

  - ### Constructor Detail

    - #### MergePolicyFactory

          protected MergePolicyFactory(SolrResourceLoader resourceLoader,
                                       MergePolicyFactoryArgs args,
                                       IndexSchema schema)

  - ### Method Detail

    - #### getMergePolicy

          public abstract MergePolicy getMergePolicy()

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