# Upgrade Query DSL version 7, a version 8

**URL:** <https://discuss.elastic.co/t/upgrade-query-dsl-version-7-a-version-8/338799>\
**Category:** Elasticsearch\
**Tags:** ilm-index-lifecycle-management\
**Created:** [July 19, 2023, 2:37pm UTC](https://discuss.elastic.co/t/upgrade-query-dsl-version-7-a-version-8/338799 "2023-07-19T14:37:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Miguel\_Martinez](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/miguel_martinez/32/123421_2.png) [@Miguel\_Martinez](https://discuss.elastic.co/u/Miguel_Martinez)\
**Post date:** [July 19, 2023, 2:37pm UTC](https://discuss.elastic.co/t/upgrade-query-dsl-version-7-a-version-8/338799/1 "2023-07-19T14:37:15Z")

</div>

Hello, I have several DSL queries in version 7 of elasticsearch but I updated to version 8 but the queries are not working for me, I was looking at a query and in version 7 the eventtime is written like this but in version 8 the field has to be like this eventTime, I couldn't find how to know which fields are what changed from one version to another version.

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [July 19, 2023, 3:58pm UTC](https://discuss.elastic.co/t/upgrade-query-dsl-version-7-a-version-8/338799/2 "2023-07-19T15:58:38Z")

</div>

Welcome!

> [@Miguel\_Martinez](#):
>
> but the queries are not working for me, I was looking at a query and in version 7 the eventtime is written like this but in version 8 the field has to be like this eventTime, I couldn't find how to know which fields are what changed from one version to another version.

I have no idea about the fields you are talking about.  
I don't believe that your question is related to the QueryDSL but may be to the mappings on related projects, like beats...

Could you specify what you are talking about?

---

<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:** [August 16, 2023, 3:59pm UTC](https://discuss.elastic.co/t/upgrade-query-dsl-version-7-a-version-8/338799/3 "2023-08-16T15:59:30Z")

</div>

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