Documentation

GeoBoundingBoxSearchQuery implements JsonSerializable, SearchQuery

A FTS query which allows to match geo bounding boxes.

Interfaces, Classes and Traits

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

Table of Contents

__construct()  : mixed
boost()  : GeoBoundingBoxSearchQuery
field()  : GeoBoundingBoxSearchQuery
jsonSerialize()  : mixed

Methods

__construct()

public __construct(float $top_left_longitude, float $top_left_latitude, float $buttom_right_longitude, float $buttom_right_latitude) : mixed
Parameters
$top_left_longitude : float
$top_left_latitude : float
$buttom_right_longitude : float
$buttom_right_latitude : float
Return values
mixed

jsonSerialize()

public jsonSerialize() : mixed
Return values
mixed

Search results