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

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

공개 메소드들

메소드 설명
asArray ( ) : array Return the mapping as an array you can put into ES through the mapping API.
getField ( string $name ) : Smile\ElasticsuiteCore\Api\Index\Mapping\FieldInterface Return a field of the mapping by name.
getFields ( ) : Smile\ElasticsuiteCore\Api\Index\Mapping\FieldInterface[] List of the fields used to build the mapping.
getIdField ( ) : Smile\ElasticsuiteCore\Api\Index\Mapping\FieldInterface Field use as unique id for the doc.
getProperties ( ) : array List of the properties of the mapping.

메소드 상세

asArray() 공개 메소드

Return the mapping as an array you can put into ES through the mapping API.
public asArray ( ) : array
리턴 array

getField() 공개 메소드

Return a field of the mapping by name.
public getField ( string $name ) : Smile\ElasticsuiteCore\Api\Index\Mapping\FieldInterface
$name string Field name
리턴 Smile\ElasticsuiteCore\Api\Index\Mapping\FieldInterface

getFields() 공개 메소드

List of the fields used to build the mapping.
public getFields ( ) : Smile\ElasticsuiteCore\Api\Index\Mapping\FieldInterface[]
리턴 Smile\ElasticsuiteCore\Api\Index\Mapping\FieldInterface[]

getIdField() 공개 메소드

Field use as unique id for the doc.
public getIdField ( ) : Smile\ElasticsuiteCore\Api\Index\Mapping\FieldInterface
리턴 Smile\ElasticsuiteCore\Api\Index\Mapping\FieldInterface

getProperties() 공개 메소드

List of the properties of the mapping.
public getProperties ( ) : array
리턴 array