__construct() __construct( $server, \Horde_Http_Client $httpClient) Parameters $server \Horde_Http_Client $httpClient
search() search( $index, $type, $q) curl -X GET {SERVER}/{INDEX}/{TYPE}/_search?q= . .. Parameters $index $type $q
add() add( $index, $type, $id, $data) curl -X PUT {SERVER}/{INDEX}/{TYPE}/{ID} -d . .. Parameters $index $type $id $data
count() count( $index, $type) curl -X GET {SERVER}/{INDEX}/{TYPE}/_count -d {matchAll:{}} Parameters $index $type
map() map( $index, $type, $data) curl -X PUT {SERVER}/{INDEX}/{TYPE}/_mapping -d . .. Parameters $index $type $data
_request() _request( $path, $method = 'GET', $data = null, $headers = array()) Parameters $path $method $data $headers