PHP 클래스 Smile\ElasticsuiteCore\Index\Mapping

저자: Aurelien FOUCRET ([email protected])
상속: implements Smile\ElasticsuiteCore\Api\Index\MappingInterface
파일 보기 프로젝트 열기: smile-sa/elasticsuite

공개 메소드들

메소드 설명
__construct ( string $idFieldName, array $staticFields = [], array $dynamicFieldProviders = [] ) Instanciate a new mapping.
asArray ( ) {@inheritDoc}
getField ( $name ) {@inheritDoc}
getFields ( ) {@inheritDoc}
getIdField ( ) {@inheritDoc}
getProperties ( ) {@inheritDoc}

비공개 메소드들

메소드 설명
addField ( array $properties, Smile\ElasticsuiteCore\Api\Index\Mapping\FieldInterface $field ) : array Append a field to a mapping properties list.
addProperty ( array $properties, string $propertyName, string $propertyType, array $analyzers = [] ) : array Append a new properties into a properties list and returned the updated map.
getDynamicFields ( array $dynamicFieldProviders ) : array Retrieve the fields provided by differents providers.
getFieldCopyToProperties ( Smile\ElasticsuiteCore\Api\Index\Mapping\FieldInterface $field ) : array Get the list of default fields where the current field must be copied.

메소드 상세

__construct() 공개 메소드

Instanciate a new mapping.
public __construct ( string $idFieldName, array $staticFields = [], array $dynamicFieldProviders = [] )
$idFieldName string Field use as unique id for the documents.
$staticFields array List of static fields.
$dynamicFieldProviders array Dynamic fields providers.

asArray() 공개 메소드

{@inheritDoc}
public asArray ( )

getField() 공개 메소드

{@inheritDoc}
public getField ( $name )

getFields() 공개 메소드

{@inheritDoc}
public getFields ( )

getIdField() 공개 메소드

{@inheritDoc}
public getIdField ( )

getProperties() 공개 메소드

{@inheritDoc}
public getProperties ( )