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

Can be used in these methods:

About this parameter

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.


Exclude the query from the percentile computation

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