PHP Класс Elastica\Query\GeoShapePreIndexed

Query pre-indexed shape definitions
Наследование: extends Elastica\Query\AbstractGeoShape
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$_indexedId string elasticsearch id of the pre-indexed shape.
$_indexedIndex string elasticsearch index of the pre-indexed shape.
$_indexedPath string elasticsearch path/field name of the pre-indexed shape.
$_indexedType string elasticsearch type of the pre-indexed shape.

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

Метод Описание
__construct ( string $path, string $indexedId, string $indexedType, string $indexedIndex, string $indexedPath ) Construct geo_shape query with a pre-indexed shape.
toArray ( ) : array Converts query to array.

Описание методов

__construct() публичный Метод

Construct geo_shape query with a pre-indexed shape.
public __construct ( string $path, string $indexedId, string $indexedType, string $indexedIndex, string $indexedPath )
$path string The path/field of the shape searched
$indexedId string Id of the pre-indexed shape
$indexedType string Type of the pre-indexed shape
$indexedIndex string Index of the pre-indexed shape
$indexedPath string Path of the pre-indexed shape

toArray() публичный Метод

Converts query to array.
См. также: Elastica\Query\AbstractQuery::toArray()
public toArray ( ) : array
Результат array

Описание свойств

$_indexedId защищенное свойство

elasticsearch id of the pre-indexed shape.
protected string $_indexedId
Результат string

$_indexedIndex защищенное свойство

elasticsearch index of the pre-indexed shape.
protected string $_indexedIndex
Результат string

$_indexedPath защищенное свойство

elasticsearch path/field name of the pre-indexed shape.
protected string $_indexedPath
Результат string

$_indexedType защищенное свойство

elasticsearch type of the pre-indexed shape.
protected string $_indexedType
Результат string