Documentation

GeoPolygonQuery
in package
implements JsonSerializable, SearchQuery

A FTS query that finds all matches within the given polygon area.

Interfaces, Classes, Traits and Enums

JsonSerializable
SearchQuery
Common interface for all classes, which could be used as a body of SearchQuery

Table of Contents

$boost  : float|null
$coordinates  : array<string|int, mixed>
$field  : string|null
__construct()  : mixed
boost()  : GeoPolygonQuery
Sets the boost for this query.
field()  : GeoPolygonQuery
Sets the field for this query.

Properties

Methods

__construct()

public __construct(array<string|int, mixed> $coordinates) : mixed
Parameters
$coordinates : array<string|int, mixed>

list of objects of type Coordinate

Tags
see
Coordinate
since
4.0.0
Return values
mixed

        

Search results