# Where can I find an exhaustive list of search exceptions thrown by ES?

**URL:** <https://discuss.elastic.co/t/where-can-i-find-an-exhaustive-list-of-search-exceptions-thrown-by-es/250522>\
**Category:** Elasticsearch\
**Created:** [September 30, 2020, 2:31pm UTC](https://discuss.elastic.co/t/where-can-i-find-an-exhaustive-list-of-search-exceptions-thrown-by-es/250522 "2020-09-30T14:31:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![michele\_crudele](https://avatars.discourse-cdn.com/v4/letter/m/91b2a8/32.png) [@michele\_crudele](https://discuss.elastic.co/u/michele_crudele)\
**Post date:** [September 30, 2020, 2:31pm UTC](https://discuss.elastic.co/t/where-can-i-find-an-exhaustive-list-of-search-exceptions-thrown-by-es/250522/1 "2020-09-30T14:31:47Z")

</div>

There are users sending bad queries. Some examples are queries with offending characters like /, : \ and so on; queries with more than 1024 clauses; queries with syntax errors.  
We'd like to discriminate these cases from infrastructure problems like clusters or indices not healthy in order to avoid retrying the query on another cluster.  
Is there a way to easily identify those non retriable errors, or at least a comprehensive list of exceptions to look at? Thanks in advance.

---

<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:** [October 28, 2020, 2:31pm UTC](https://discuss.elastic.co/t/where-can-i-find-an-exhaustive-list-of-search-exceptions-thrown-by-es/250522/2 "2020-10-28T14:31:57Z")

</div>

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