diff --git a/api/requestParams.d.ts b/api/requestParams.d.ts index cd7a8b266..7e2ad41a6 100644 --- a/api/requestParams.d.ts +++ b/api/requestParams.d.ts @@ -1194,7 +1194,7 @@ export interface Search extends Generic { suggest_text?: string; timeout?: string; track_scores?: boolean; - track_total_hits?: boolean|long; + track_total_hits?: boolean | number; allow_partial_search_results?: boolean; typed_keys?: boolean; version?: boolean; @@ -1461,7 +1461,7 @@ export interface AsyncSearchSubmit extends Generic { suggest_text?: string; timeout?: string; track_scores?: boolean; - track_total_hits?: boolean|long; + track_total_hits?: boolean | number; allow_partial_search_results?: boolean; typed_keys?: boolean; version?: boolean;