You're viewing an archived version of our docs. Check out our current documentation →
API Reference / API Parameters / minimumAroundRadius

minimumAroundRadius

Type: integer
Engine default: null
Parameter syntax
'minimumAroundRadius' => radius

Can be used in these methods:

About this parameter

Minimum radius (in meters) used for a geo search when the radius isn’t defined.

When a radius is automatically generated, the area of the circle might be too small to include enough records. This setting allows you to increase the size of the circle, thus ensuring sufficient coverage.

Usage notes

Examples

Set minimum geo search radius

1
2
3
$results = $index->search('query', [
  'minimumAroundRadius' => 1000 // 1km
]);