# Upgrading to elasticsearch 2.0

**URL:** <https://discuss.elastic.co/t/upgrading-to-elasticsearch-2-0/39743>\
**Category:** Elasticsearch\
**Created:** [January 21, 2016, 9:03am UTC](https://discuss.elastic.co/t/upgrading-to-elasticsearch-2-0/39743 "2016-01-21T09:03:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![liorg2](https://avatars.discourse-cdn.com/v4/letter/l/ed8c4c/32.png) [@liorg2](https://discuss.elastic.co/u/liorg2)\
**Post date:** [January 21, 2016, 9:03am UTC](https://discuss.elastic.co/t/upgrading-to-elasticsearch-2-0/39743/1 "2016-01-21T09:03:08Z")

</div>

hello

i saw in the ES 2.0 that "The filtered query is deprecated in favour of the bool query".

do i need to rewrite the queries, before upgrading?

thanks

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [January 21, 2016, 9:40am UTC](https://discuss.elastic.co/t/upgrading-to-elasticsearch-2-0/39743/2 "2016-01-21T09:40:39Z")

</div>

No, they will still work for now. But you will eventually.

---

<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:** [July 5, 2017, 11:22pm UTC](https://discuss.elastic.co/t/upgrading-to-elasticsearch-2-0/39743/3 "2017-07-05T23:22:39Z")

</div>


