Opensearch dashboards.searchresponse
Home > opensearch-dashboards > SearchResponse
SearchResponse interface
Signature:
export interface SearchResponse<T = unknown>
Properties
Property | Type | Description |
---|---|---|
_scroll_id? | string | (Optional) |
_shards | ShardsResponse | |
aggregations? | any | (Optional) |
hits | { total: number; max_score: number; hits: Array<{ _index: string; _type: string; _id: string; _score: number; _source: T; _version?: number; _explanation?: Explanation; fields?: any; highlight?: any; inner_hits?: any; matched_queries?: string[]; sort?: string[]; }>; } | |
timed_out | boolean | |
took | number |