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

Can be used in these methods:

About this parameter

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

Disable Re Ranking

1
2
3
$results = $index->search('query', [
  'enableReRanking' => false
]);

Did you find this page helpful?