Elastica\Query\GeoShapePreIndexed::__construct PHP Method

__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
    public function __construct($path, $indexedId, $indexedType, $indexedIndex, $indexedPath)
    {
        $this->_path = $path;
        $this->_indexedId = $indexedId;
        $this->_indexedType = $indexedType;
        $this->_indexedIndex = $indexedIndex;
        $this->_indexedPath = $indexedPath;
    }
GeoShapePreIndexed