RELATION_INTERSECT
RELATION_INTERSECT
Return all documents whose geo_shape field intersects the query geometry. (default behavior)
geo_shape query for provided shapes.
Query provided shape definitions
__construct(string $path, array $coordinates, string $shapeType = self::TYPE_ENVELOPE)
Construct geo_shape query.
string | $path | The path/field of the shape searched |
array | $coordinates | Points making up the shape |
string | $shapeType | Type of the geo_shape: point, envelope, linestring, polygon, multipoint or multipolygon |