org.apache.solr.update

## Class MergeIndexesCommand

- java.lang.Object
- - org.apache.solr.update.UpdateCommand
  - - org.apache.solr.update.MergeIndexesCommand

- All Implemented Interfaces:
    Cloneable

      public class MergeIndexesCommand
      extends UpdateCommand

  A merge indexes command encapsulated in an object.
  Since:
    solr 1.4

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `List<DirectoryReader>` | `readers`

    - ### Fields inherited from class org.apache.solr.update.UpdateCommand

      `BUFFERING, CLEAR_CACHES, flags, IGNORE_AUTOCOMMIT, PEER_SYNC, REPLAY, req, route, version`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `MergeIndexesCommand(List<DirectoryReader> readers, SolrQueryRequest req)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `name()`
    `String` | `toString()`

    - ### Methods inherited from class org.apache.solr.update.UpdateCommand

      `clone, getFlags, getReq, getRoute, getVersion, setFlags, setReq, setRoute, setVersion`

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

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

- - ### Field Detail

    - #### readers

          public List<DirectoryReader> readers

  - ### Constructor Detail

    - #### MergeIndexesCommand

          public MergeIndexesCommand(List<DirectoryReader> readers,
                                     SolrQueryRequest req)

  - ### Method Detail

    - #### name

          public String name()

      Specified by:
        `name` in class `UpdateCommand`

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `UpdateCommand`

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