public function retrieve($record)
    {
        $params['index'] = $this->getName();
        $params['type'] = $record['type'];
        $params['id'] = $record['id'];

        self::getClient()->get($params);
    }
public function retrieve($record)
    {
        $params['index'] = $this->getName();
        $params['type'] = $record['type'];
        $params['id'] = $record['id'];

        self::getClient()->get($params);
    }
public function retrieve ( $ record ) { $ params [ 'index' ] = $ this -> getName ( ) ; $ params [ 'type' ] = $ record [ 'type' ] ; $ params [ 'id' ] = $ record [ 'id' ] ; self :: getClient ( ) -> get ( $ params ) ; }
Retrieve a record from the index

@param $record
Retrieve a record from the index