[Search service] Add sort parameters for async search requests #55141
Labels
Feature:Search
Querying infrastructure in Kibana
Icebox
impact:low
Addressing this issue will have a low level of impact on the quality/strength of our product.
loe:medium
Medium Level of Effort
Team:DataDiscovery
Discover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL.
As we begin to integrate the
_async_search
Elasticsearch endpoints (elastic/elasticsearch#49931) in Kibana (#53057, #53538), one optimization we can make in order to facilitate intermediate results in the future is to supply thesort
parameter to Elasticsearch so that the shards are processed in an order that provides meaningful intermediate results to Kibana users (see elastic/elasticsearch#49092).There are a couple of situations where we need to supply this parameter:
Related: elastic/elasticsearch#49092
The text was updated successfully, but these errors were encountered: