API Reference / API Parameters / minimumAroundRadius
Type: integer
Engine default: null
Parameter syntax
'minimumAroundRadius' => radius

Can be used in these methods:
search, browseObjects, searchForFacetValues, generateSecuredApiKey, addApiKey, updateApiKey

About this parameter# A

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# A

Set minimum geo search radius#

1
2
3
$results = $index->search('query', [
  'minimumAroundRadius' => 1000 // 1km
]);
Did you find this page helpful?
PHP v3