# Exception occur while fetching data from elastic: Error for search request

**URL:** <https://discuss.elastic.co/t/exception-occur-while-fetching-data-from-elastic-error-for-search-request/369040>\
**Category:** Elastic Search\
**Created:** [October 18, 2024, 6:53am UTC](https://discuss.elastic.co/t/exception-occur-while-fetching-data-from-elastic-error-for-search-request/369040 "2024-10-18T06:53:25Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shaista](https://avatars.discourse-cdn.com/v4/letter/s/a9adbd/32.png) [@Shaista](https://discuss.elastic.co/u/Shaista)\
**Post date:** [October 18, 2024, 6:53am UTC](https://discuss.elastic.co/t/exception-occur-while-fetching-data-from-elastic-error-for-search-request/369040/1 "2024-10-18T06:53:25Z")

</div>

Hi Team,  
We are facing below issue for the Elasticsearch. Can you tell me why this issue occur and how can it resolved.

```auto
Exception occur while fetching data from elastic: Error for search request: SearchRequest (searchType=DES_QUERY_THEN_FETCH,indices= [mett_otracking_info], indicesOptions=IndicesOptions [ignore_unavailable=false, allow_no _indices=true, expand wildcards_open=true, expand_wildcards_closed=false, allow_aliases_to_multiple_indices=true, forbid_closed_indices=true, ignore_aliases=false], types=[arttrackinginfo], routing='null', preference='null', requestCache=null, scroll-null, maxConcurrentShardRequests=0, batchedReduceSize=512, preFilterShardSize=128, allowPartialSearchResults=null,source= ("from": 0, "size": 10000, "query": ("bool": ("must": [("query string": ("query": "ABCD-987650740-53161", "fields": ["ReferenceNo*1. 0"], "type": "bes _fields", "default_operator": "and", "max _determinized states": 10000, "enable_position increments"; true, "fuzziness": "AUTO", "fuzzy_prefix_length":0, "fuzzy_™ ax_expansions":50, "phrase_slop":0, "escape": false, "auto_generate_synonyms_phrase_query"; true, "fuzzy_transpositions":true, "boost" : 1.01)1, "adjust_pure_nega tive": true, "boost": 1.01), "version": truel}

```

Index: mett\_otracking\_info  
Field: AbcReferenceNo  
Value: ABCD-987650740-53161

Thank you.

---

<div class="post-metadata">

**Author:** ![ashishtiwari1993](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ashishtiwari1993/32/135241_2.png) [@ashishtiwari1993](https://discuss.elastic.co/u/ashishtiwari1993)\
**Post date:** [October 18, 2024, 7:28am UTC](https://discuss.elastic.co/t/exception-occur-while-fetching-data-from-elastic-error-for-search-request/369040/2 "2024-10-18T07:28:34Z")

</div>

Hi @Shaista Welcome to the Elastic community. You error is not readable please format in code format. Also It seems you have not mentioned complete exception message. Could you please confirm?

---

<div class="post-metadata">

**Author:** ![Shaista](https://avatars.discourse-cdn.com/v4/letter/s/a9adbd/32.png) [@Shaista](https://discuss.elastic.co/u/Shaista)\
**Post date:** [October 18, 2024, 9:44am UTC](https://discuss.elastic.co/t/exception-occur-while-fetching-data-from-elastic-error-for-search-request/369040/3 "2024-10-18T09:44:22Z")

</div>

Hi Ashish,

Thanks for your response.  
I had mentioned the error in a readable format.

Looking forward to get the solution for the same.

Thanks,  
Shaista.

---

<div class="post-metadata">

**Author:** ![ashishtiwari1993](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ashishtiwari1993/32/135241_2.png) [@ashishtiwari1993](https://discuss.elastic.co/u/ashishtiwari1993)\
**Post date:** [October 18, 2024, 10:05am UTC](https://discuss.elastic.co/t/exception-occur-while-fetching-data-from-elastic-error-for-search-request/369040/4 "2024-10-18T10:05:26Z")

</div>

I think mentioned text only showing the searchRequest, Is there any thing else (exception) you getting along with searchRequest?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [November 15, 2024, 10:06am UTC](https://discuss.elastic.co/t/exception-occur-while-fetching-data-from-elastic-error-for-search-request/369040/5 "2024-11-15T10:06:06Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
