# Transport Client and elastic 5.0.0-beta1 issue

**URL:** <https://discuss.elastic.co/t/transport-client-and-elastic-5-0-0-beta1-issue/62312>\
**Category:** Elasticsearch\
**Created:** [October 5, 2016, 8:19pm UTC](https://discuss.elastic.co/t/transport-client-and-elastic-5-0-0-beta1-issue/62312 "2016-10-05T20:19:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![thompofmt](https://avatars.discourse-cdn.com/v4/letter/t/278dde/32.png) [@thompofmt](https://discuss.elastic.co/u/thompofmt)\
**Post date:** [October 5, 2016, 8:19pm UTC](https://discuss.elastic.co/t/transport-client-and-elastic-5-0-0-beta1-issue/62312/1 "2016-10-05T20:19:17Z")

</div>

I'm getting the below error:

```auto
java.lang.ClassNotFoundException: org.apache.lucene.search.DocValuesTermsQuery

```

After dong some digging it seems that org.elasticsearch.index.query.ParentIdQueryBuilder (line 174) still references org.apache.lucene.search.DocValuesTermsQuery but that class seems to not exists in lucene-core-6.2.0.jar.

When I do a search for that class it seems the last version of Lucene it existed in was [5.2.1](http://grepcode.com/file/repo1.maven.org/maven2/org.apache.lucene/lucene-core/5.2.1/org/apache/lucene/search/DocValuesTermsQuery.java)

Am I missing something silly here or is there some sort of way to work around this issue?

---

<div class="post-metadata">

**Author:** ![ywelsch](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ywelsch/32/7751_2.png) [@ywelsch](https://discuss.elastic.co/u/ywelsch)\
**Post date:** [October 6, 2016, 6:54am UTC](https://discuss.elastic.co/t/transport-client-and-elastic-5-0-0-beta1-issue/62312/2 "2016-10-06T06:54:54Z")

</div>

it's in the lucene-sandbox jar now. Are you correctly resolving all dependencies?

---

<div class="post-metadata">

**Author:** ![thompofmt](https://avatars.discourse-cdn.com/v4/letter/t/278dde/32.png) [@thompofmt](https://discuss.elastic.co/u/thompofmt)\
**Post date:** [October 6, 2016, 1:26pm UTC](https://discuss.elastic.co/t/transport-client-and-elastic-5-0-0-beta1-issue/62312/3 "2016-10-06T13:26:57Z")

</div>

Thanks! I'm having to resolve dependencies to a server that is offline so resolving dependencies has been a bit tricky. This helps a ton though!

---

<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, 10:14pm UTC](https://discuss.elastic.co/t/transport-client-and-elastic-5-0-0-beta1-issue/62312/4 "2017-07-05T22:14:17Z")

</div>


