Files
elasticsearch-js/docs/reference/api/AsyncSearchAsyncSearch.md
2025-05-28 10:02:30 -05:00

1.3 KiB

AsyncSearchAsyncSearch [interface-AsyncSearchAsyncSearch]

Name Type Description
_clusters ClusterStatistics  
_scroll_id ScrollId  
_shards ShardStatistics Indicates how many shards have run the query. Note that in order for shard results to be included in the search response, they need to be reduced first.
aggregations TAggregations Partial aggregations results, coming from the shards that have already completed running the query.
fields Record<string, any>  
hits SearchHitsMetadata  
max_score double  
num_reduce_phases long Indicates how many reductions of the results have been performed. If this number increases compared to the last retrieved results for a get asynch search request, you can expect additional results included in the search response.
pit_id Id  
profile SearchProfile  
suggest Record<SuggestionName, SearchSuggest[]>  
terminated_early boolean  
timed_out boolean  
took long