nbHits property
Whether the nbHits
is exhaustive (true
) or approximate (false
). When the query takes more than 50ms to be processed, the engine makes an approximation. This can happen when using complex filters on millions of records, when typo-tolerance was not exhaustive, or when enough hits have been retrieved (for example, after the engine finds 10,000 exact matches). nbHits
is reported as non-exhaustive whenever an approximation is made, even if the approximation didn’t, in the end, impact the exhaustivity of the query.
Implementation
@JsonKey(name: r'nbHits')
final bool? nbHits;