API Reference / API Parameters / enableReRanking
Type: boolean
Engine default: true
Parameter syntax
'enableReRanking' => true|false

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

About this parameter# A

Whether this search should use Dynamic Re-ranking.

Usage notes#

You need to turn on Dynamic Re-ranking on your index for it to have an effect on your search results. You can do this through the Re-Ranking page on the dashboard. This parameter is only used to turn off Dynamic Re-ranking (with false) at search time.

Examples# A

Turn off re-ranking#

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