Documentation

GeoDistanceSearchQuery implements JsonSerializable, SearchQuery

A FTS query that finds all matches from a given location (point) within the given distance.

Both the point and the distance are required.

Table of Contents

jsonSerialize() mixed
__construct() mixed
boost() GeoDistanceSearchQuery
field() GeoDistanceSearchQuery

Methods

jsonSerialize()

public jsonSerialize( ) : mixed
Return values
mixed

__construct()

public __construct( $longitude : float , $latitude : float [, $distance : string = null ] ) : mixed
Parameters
$longitude : float
$latitude : float
$distance : string = null
Return values
mixed

Search results