lib/Elastica/Client.php
public function forcemergeAll($args = [])
    {
        $endpoint = new ForceMerge();
        $endpoint->setParams($args);

        return $this->requestEndpoint($endpoint);
    }
public function forcemergeAll($args = [])
    {
        $endpoint = new ForceMerge();
        $endpoint->setParams($args);

        return $this->requestEndpoint($endpoint);
    }
public function forcemergeAll ( $ args = [ ] ) { $ endpoint = new ForceMerge ( ) ; $ endpoint -> setParams ( $ args ) ; return $ this -> requestEndpoint ( $ endpoint ) ; }
Force merges all search indices.

@param array $args OPTIONAL Optional arguments

@return \Elastica\Response Response object

@see https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-forcemerge.html
Force merges all search indices .