PHP Интерфейс Smile\ElasticsuiteCore\Api\Index\MappingInterface

Автор: Aurelien FOUCRET ([email protected])
Показать файл Открыть проект Примеры использования интерфейса

Открытые методы

Метод Описание
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