PHP Class Elastica\Query\GeoShapePreIndexed

Query pre-indexed shape definitions
Inheritance: extends Elastica\Query\AbstractGeoShape
Exibir arquivo Open project: ruflin/elastica Class Usage Examples

Protected Properties

Property Type Description
$_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.

Public Methods

Method Description
__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.

Method Details

__construct() public method

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() public method

Converts query to array.
See also: Elastica\Query\AbstractQuery::toArray()
public toArray ( ) : array
return array

Property Details

$_indexedId protected_oe property

elasticsearch id of the pre-indexed shape.
protected string $_indexedId
return string

$_indexedIndex protected_oe property

elasticsearch index of the pre-indexed shape.
protected string $_indexedIndex
return string

$_indexedPath protected_oe property

elasticsearch path/field name of the pre-indexed shape.
protected string $_indexedPath
return string

$_indexedType protected_oe property

elasticsearch type of the pre-indexed shape.
protected string $_indexedType
return string