Type Alias SearchResponse<T, S>
SearchResponse<T, S>: { facetDistribution?: FacetDistribution; facetsByIndex?: FacetsByIndex; facetStats?: FacetStats; hits: Hits<T>; processingTimeMs: number; query: string; } & (undefined extends S ? Partial<FinitePagination & InfinitePagination> : true extends IsFinitePagination<NonNullable<S>> ? FinitePagination : InfinitePagination) Type Parameters
- T = Record<string, any>
- S extends SearchParams | undefined = undefined