🎉 Try the public beta of the new docs site at algolia.com/doc-beta! 🎉
API Reference / API Parameters / 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
]);
Did you find this page helpful?