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

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

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

Detailed arguments can be found here in the link

@param array $args OPTIONAL Additional arguments

@return Response

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