lib/Elastica/Index.php
public function requestEndpoint(AbstractEndpoint $endpoint)
    {
        $cloned = clone $endpoint;
        $cloned->setIndex($this->getName());

        return $this->getClient()->requestEndpoint($cloned);
    }
public function requestEndpoint(AbstractEndpoint $endpoint)
    {
        $cloned = clone $endpoint;
        $cloned->setIndex($this->getName());

        return $this->getClient()->requestEndpoint($cloned);
    }
public function requestEndpoint ( AbstractEndpoint $ endpoint ) { $ cloned = clone $ endpoint ; $ cloned -> setIndex ( $ this -> getName ( ) ) ; return $ this -> getClient ( ) -> requestEndpoint ( $ cloned ) ; }
Makes calls to the elasticsearch server with usage official client Endpoint based on this index.

@param AbstractEndpoint $endpoint

@return Response
Makes calls to the elasticsearch server with usage official client Endpoint based on this index .