> ## Documentation Index
> Fetch the complete documentation index at: https://algolia.com/llms.txt
> Use this file to discover all available pages before exploring further.

# allowReRankingOnPersonalization

> Whether to use Dynamic Re-Ranking with Personalization

export const Setting = ({type, default: defaultValue, defaultNote, scope, min, max, formerly}) => {
  const renderedDefault = defaultValue === '' ? '""' : defaultValue;
  const renderedNote = defaultNote ? `(${defaultNote})` : '';
  return <ul>
      <li><strong>Type:</strong> <code>{type}</code></li>
      <li><strong>Default:</strong> <code>{renderedDefault}</code>{renderedNote}</li>
      {min && <li><strong>Min:</strong> <code>{min}</code></li>}
      {max && <li><strong>Max:</strong> <code>{max}</code></li>}
      <li><strong>Scope:</strong> <a href="/doc/api-reference/api-parameters"><code>{scope}</code></a></li>
      {formerly && <li>
          <strong>Deprecated name:</strong> <code>{formerly}</code>
        </li>}
    </ul>;
};

<Setting type="boolean" default="false" scope="search" />

The `allowReRankingOnPersonalization` parameter controls whether [Dynamic Re-Ranking](/doc/guides/algolia-ai/re-ranking#allow-dynamic-re-ranking-when-personalization-applies) runs concurrently with Personalization.

## Usage

Dynamic Re-Ranking doesn't apply when [`distinct`](/doc/api-reference/api-parameters/distinct) > 1,
even if `allowReRankingOnPersonalization` is `true`.

Set `distinct` to `0` or `1` to use Dynamic Re-Ranking with Personalization.
