메소드 |
설명 |
|
__construct ( $server, Horde_Http_Client $httpClient ) |
|
|
add ( $index, $type, $id, $data ) |
curl -X PUT {SERVER}/{INDEX}/{TYPE}/{ID} -d . |
|
count ( $index, $type ) |
curl -X GET {SERVER}/{INDEX}/{TYPE}/_count -d {matchAll:{}} |
|
get ( $index, $type, $id ) |
curl -X GET {SERVER}/{INDEX}/{TYPE/{ID} |
|
map ( $index, $type, $data ) |
curl -X PUT {SERVER}/{INDEX}/{TYPE}/_mapping -d . |
|
search ( $index, $type, $q ) |
curl -X GET {SERVER}/{INDEX}/{TYPE}/_search?q= . |
|
status ( $index = null ) |
curl -X GET {SERVER}/_status |
|