PHP Class Horde_ElasticSearch_Type, horde

Copyright 2011-2016 Horde LLC (http://www.horde.org/)
Author: Chuck Hagenbuch ([email protected])
ファイルを表示 Open project: horde/horde Class Usage Examples

Protected Properties

Property Type Description
$_index
$_type

Public Methods

Method Description
__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= .

Method Details

__construct() public method

public __construct ( $type, Horde_ElasticSearch_Index $index )
$index Horde_ElasticSearch_Index

add() public method

..
public add ( $id, $data )

count() public method

curl -X GET {SERVER}/{INDEX}/{TYPE}/_count -d {matchAll:{}}
public count ( )

get() public method

curl -XGET {SERVER}/{INDEX}/{TYPE/{ID}
public get ( $id )

map() public method

..
public map ( $data )

Property Details

$_index protected_oe property

protected $_index

$_type protected_oe property

protected $_type