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 AI Re-Ranking.

Usage notes

You need to turn on AI 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 AI Re-Ranking (with false) at search time.


Disable Re Ranking

$results = $index->search('query', [
  'enableReRanking' => false
Did you find this page helpful?