Method |
Description |
|
__construct ( $index, Horde_ElasticSearch_Client $client ) |
|
|
add ( $type, $id, $data ) |
curl -X PUT {SERVER}/{INDEX}/{TYPE}/{ID} -d . |
|
count ( $type ) |
curl -X GET {SERVER}/{INDEX}/{TYPE}/_count -d {matchAll:{}} |
|
create ( ) |
curl -X PUT {SERVER}/{INDEX}/ |
|
drop ( ) |
curl -X DELETE {SERVER}/{INDEX}/ |
|
get ( $type, $id ) |
curl -XGET {SERVER}/{INDEX}/{TYPE/{ID} |
|
map ( $type, $data ) |
curl -X PUT {SERVER}/{INDEX}/{TYPE}/_mapping -d . |
|
search ( $type, $q ) |
curl -X GET {SERVER}/{INDEX}/{TYPE}/_search?q= . |
|
status ( ) |
curl -X GET {SERVER}/{INDEX}/_status |
|