프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$_index | |||
$_type |
메소드 | 설명 | |
---|---|---|
__construct ( $type, Horde_ElasticSearch_Index $index ) | ||
add ( $id, $data ) | curl -X PUT {SERVER}/{INDEX}/{TYPE}/{ID} -d . | |
count ( ) | curl -X GET {SERVER}/{INDEX}/{TYPE}/_count -d {matchAll:{}} | |
get ( $id ) | curl -XGET {SERVER}/{INDEX}/{TYPE/{ID} | |
map ( $data ) | curl -X PUT {SERVER}/{INDEX}/{TYPE}/_mapping -d . | |
search ( $q ) | curl -X GET {SERVER}/{INDEX}/{TYPE}/_search?q= . |
public __construct ( $type, Horde_ElasticSearch_Index $index ) | ||
$index | Horde_ElasticSearch_Index |