public function updateIndex()
    {
        $params = $this->getBasicEsParams();

        // Get our document body data.
        $params['body']['doc'] = $this->getIndexDocumentData();

        return $this->getElasticSearchClient()->update($params);
    }
public function updateIndex()
    {
        $params = $this->getBasicEsParams();

        // Get our document body data.
        $params['body']['doc'] = $this->getIndexDocumentData();

        return $this->getElasticSearchClient()->update($params);
    }
public function updateIndex ( ) { $ params = $ this -> getBasicEsParams ( ) ; // Get our document body data. $ params [ 'body' ] [ 'doc' ] = $ this -> getIndexDocumentData ( ) ; return $ this -> getElasticSearchClient ( ) -> update ( $ params ) ; }
Partial Update to Indexed Document

@return array
Partial Update to Indexed Document