PHP 인터페이스 Smile\ElasticsuiteCore\Api\Index\IndexInterface

저자: Aurelien FOUCRET ([email protected])
파일 보기 프로젝트 열기: smile-sa/elasticsuite 0 사용 예제들

공개 메소드들

메소드 설명
getDefaultSearchType ( ) : Smile\ElasticsuiteCore\Api\Index\TypeInterface Each index has a default type that can be used to search.
getIdentifier ( ) : string Index identifier (eg: catalog_product).
getName ( ) : string Index name.
getType ( string $typeName ) : Smile\ElasticsuiteCore\Api\Index\TypeInterface Retrieve an type by it's name.
getTypes ( ) : Smile\ElasticsuiteCore\Api\Index\TypeInterface[] List of the types handled by the index.
needInstall ( ) : boolean Indicates if the index needs to be installed.

메소드 상세

getDefaultSearchType() 공개 메소드

This method returns this default type.
public getDefaultSearchType ( ) : Smile\ElasticsuiteCore\Api\Index\TypeInterface
리턴 Smile\ElasticsuiteCore\Api\Index\TypeInterface

getIdentifier() 공개 메소드

Index identifier (eg: catalog_product).
public getIdentifier ( ) : string
리턴 string

getName() 공개 메소드

Can be : - a real index name (eg.: magento2_catalog_product_20160202_192935 - an alias (eg. : magento2_catalog_product).
public getName ( ) : string
리턴 string

getType() 공개 메소드

Retrieve an type by it's name.
public getType ( string $typeName ) : Smile\ElasticsuiteCore\Api\Index\TypeInterface
$typeName string Name of the retrieved type.
리턴 Smile\ElasticsuiteCore\Api\Index\TypeInterface

getTypes() 공개 메소드

List of the types handled by the index.
public getTypes ( ) : Smile\ElasticsuiteCore\Api\Index\TypeInterface[]
리턴 Smile\ElasticsuiteCore\Api\Index\TypeInterface[]

needInstall() 공개 메소드

Indicates if the index needs to be installed.
public needInstall ( ) : boolean
리턴 boolean