GeoDistanceSearchQuery
class GeoDistanceSearchQuery implements JsonSerializable, SearchQuery (View source)
A FTS query that finds all matches from a given location (point) within the given distance.
Both the point and the distance are required.
Methods
mixed
jsonSerialize()
Specify data which should be serialized to JSON
__construct(float $longitude, float $latitude, string $distance = null)
No description
boost(float $boost)
No description
field(string $field)
No description
Details
mixed
jsonSerialize()
Specify data which should be serialized to JSON
__construct(float $longitude, float $latitude, string $distance = null)
No description
GeoDistanceSearchQuery
boost(float $boost)
No description
GeoDistanceSearchQuery
field(string $field)
No description