PHP Class Smile\ElasticsuiteCore\Index\Index

Author: Aurelien FOUCRET ([email protected])
Inheritance: implements Smile\ElasticsuiteCore\Api\Index\IndexInterface
Show file Open project: smile-sa/elasticsuite

Public Methods

Method Description
__construct ( string $identifier, string $name, array $types, string $defaultSearchType, boolean $needInstall = false ) Instanciate a new index.
getDefaultSearchType ( ) {@inheritDoc}
getIdentifier ( )
getName ( )
getType ( $typeName )
getTypes ( )
needInstall ( )

Method Details

__construct() public method

Instanciate a new index.
public __construct ( string $identifier, string $name, array $types, string $defaultSearchType, boolean $needInstall = false )
$identifier string Index real name.
$name string Index real name.
$types array Index current types.
$defaultSearchType string Default type used in searches.
$needInstall boolean Indicates if the index needs to be installed.

getDefaultSearchType() public method

{@inheritDoc}

getIdentifier() public method

public getIdentifier ( )

getName() public method

public getName ( )

getType() public method

public getType ( $typeName )

getTypes() public method

public getTypes ( )

needInstall() public method

public needInstall ( )