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

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

About this parameter# A

Whether to include or exclude a query from the processing-time percentile computation.

Usage notes#

  • When true, the API saves the processing time of the search query and includes it when computing the 90% and 99% percentiles, available in your Algolia dashboard.

  • When false, the search query is excluded from the percentile computation.

Examples# A

Exclude the query from the percentile computation#

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