# Supress warnings like MissingIndexException and continue?

**URL:** <https://discuss.elastic.co/t/supress-warnings-like-missingindexexception-and-continue/71851>\
**Category:** Elasticsearch\
**Created:** [January 17, 2017, 11:18am UTC](https://discuss.elastic.co/t/supress-warnings-like-missingindexexception-and-continue/71851 "2017-01-17T11:18:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![asp](https://avatars.discourse-cdn.com/v4/letter/a/9fc348/32.png) [@asp](https://discuss.elastic.co/u/asp)\
**Post date:** [January 17, 2017, 11:18am UTC](https://discuss.elastic.co/t/supress-warnings-like-missingindexexception-and-continue/71851/1 "2017-01-17T11:18:48Z")

</div>

Hi,

currently I have a query which is send via curl to elasticsearch. It is querying logfile 1.  
I do apply the index of today and yesterday into the query to search in as few shards as possible.

Due to some wrong server time I queried the index of tomorrow and today instead of today and yesterday.  
As result I got "IndexMissingException".

Is there any possibility to tell elasticsearch to ignore this exception and to return the data, if found any in the remaining, given indizes?

Thanks, Andreas

---

<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:** [February 14, 2017, 11:19am UTC](https://discuss.elastic.co/t/supress-warnings-like-missingindexexception-and-continue/71851/2 "2017-02-14T11:19:00Z")

</div>

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