Skip to content

Commit

Permalink
Fixes refresh(). Should not include type
Browse files Browse the repository at this point in the history
  • Loading branch information
nervetattoo committed Aug 7, 2014
1 parent 6c63c4f commit 1063d1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ElasticSearch/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ public function deleteByQuery($query, array $options = array()) {
* @return array
*/
public function refresh() {
return $this->request('_refresh', "POST");
return $this->transport->request(array('_refresh'), 'GET');
}

/**
Expand Down

0 comments on commit 1063d1d

Please sign in to comment.