# Keeping documentation up-to-date

**URL:** <https://discuss.elastic.co/t/keeping-documentation-up-to-date/149551>\
**Category:** Elasticsearch\
**Created:** [September 22, 2018, 2:27pm UTC](https://discuss.elastic.co/t/keeping-documentation-up-to-date/149551 "2018-09-22T14:27:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![d4nyll](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/d4nyll/32/16480_2.png) [@d4nyll](https://discuss.elastic.co/u/d4nyll)\
**Post date:** [September 22, 2018, 2:27pm UTC](https://discuss.elastic.co/t/keeping-documentation-up-to-date/149551/1 "2018-09-22T14:27:27Z")

</div>

In some examples in the latest Elasticsearch JS client documentation, the filtered query is still being use, even though it is deprecated. On [another instance](https://stackoverflow.com/questions/48994803/elasticsearch-js-variable-x-is-not-defined/48995172#48995172), I have had to spend time debugging my queries because the documentation is wrong.

Before the next major release, please ensure the documentation is up-to-date. It is becoming increasingly frustrating using ES. And it's not just me who feels this way - see this [comment](https://stackoverflow.com/questions/21202775/elasticsearch-multi-term-filter#comment80145236_21205748) on StackOverflow.

> This [answer] entirely depends on the week and minor version of elasticsearch you're using. Moon phase may also have an impact. The syntax for doing this has changed more times than Donald Trump has offended immigrants.

Please, if you could, share the process of how you update your documentation. I'd like to know if Elasticsearch is a reliable tool to use moving forward.

---

<div class="post-metadata">

**Author:** ![fkelbert](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/fkelbert/32/35762_2.png) [@fkelbert](https://discuss.elastic.co/u/fkelbert)\
**Post date:** [October 17, 2018, 10:53am UTC](https://discuss.elastic.co/t/keeping-documentation-up-to-date/149551/2 "2018-10-17T10:53:42Z")

</div>

Hi @d4nyll,

Thanks for your feedback. At Elastic, we are working hard to update the documentation with every release. When reading the documentation, please make sure to read the [documentation of the version that you are using](https://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/index.html).

If you encounter any such issues in the future, please do not hesitate to file a [Github issue](https://github.com/elastic/elasticsearch-js).

---

<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 14, 2018, 10:53am UTC](https://discuss.elastic.co/t/keeping-documentation-up-to-date/149551/3 "2018-11-14T10:53:47Z")

</div>

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