# Does Elastic internally perform 'query' and 'suggest' requests in parallel?

**URL:** https://discuss.elastic.co/t/does-elastic-internally-perform-query-and-suggest-requests-in-parallel/368536
**Category:** Elasticsearch
**Tags:** eql-elastic-query-language
**Created:** [October 9, 2024, 1:40pm UTC](https://discuss.elastic.co/t/does-elastic-internally-perform-query-and-suggest-requests-in-parallel/368536 "2024-10-09T13:40:42Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![alliswell](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alliswell/32/117514_2.png) [@alliswell](https://discuss.elastic.co/u/alliswell)
#### Post date: [October 9, 2024, 1:40pm UTC](https://discuss.elastic.co/t/does-elastic-internally-perform-query-and-suggest-requests-in-parallel/368536/1 "2024-10-09T13:40:42Z")

</div>

Elastics search provides feature to get search results and suggestions in a single request, reducing network overhead.

```json
POST my-index-000001/_search
{
  "query" : {
    "match": {
      "message": "tring out Elasticsearch"
    }
  },
  "suggest" : {
    "my-suggestion" : {
      "text" : "tring out Elasticsearch",
      "term" : {
        "field" : "message"
      }
    }
  }
}

```

I believe internally these two clause are executed parallelly as there is no dependency between them. However, I couldn't find this information documented anywhere, reaching out here for confirmation.

Thanks  
Raj
