PHP Class ElasticSearcher\Abstracts\AbstractIndex

Inheritance: use trait ElasticSearcher\Traits\BodyTrait
Show file Open project: madewithlove/elasticsearcher Class Usage Examples

Protected Properties

Property Type Description
$fragmentParser ElasticSearcher\Parsers\FragmentParser

Public Methods

Method Description
__construct ( )
getBody ( ) : array
getInternalName ( ) : string The name used to communicate with the elasticsearch server. Can be used to add a prefix but still use the name to refer to it.
getName ( ) : string
getSettings ( ) : array
getType ( string $type ) : array
getTypes ( ) : array
setSettings ( array $settings ) : array
setTypes ( array $types ) : array
setup ( ) : array

Method Details

__construct() public method

public __construct ( )

getBody() public method

public getBody ( ) : array
return array

getInternalName() public method

The name used to communicate with the elasticsearch server. Can be used to add a prefix but still use the name to refer to it.
public getInternalName ( ) : string
return string

getName() abstract public method

abstract public getName ( ) : string
return string

getSettings() public method

public getSettings ( ) : array
return array

getType() public method

public getType ( string $type ) : array
$type string
return array

getTypes() public method

public getTypes ( ) : array
return array

setSettings() public method

public setSettings ( array $settings ) : array
$settings array
return array

setTypes() public method

public setTypes ( array $types ) : array
$types array
return array

setup() abstract public method

abstract public setup ( ) : array
return array

Property Details

$fragmentParser protected property

protected FragmentParser,ElasticSearcher\Parsers $fragmentParser
return ElasticSearcher\Parsers\FragmentParser