# ElasticSearch client without lucene dependencies

**URL:** <https://discuss.elastic.co/t/elasticsearch-client-without-lucene-dependencies/960>\
**Category:** Elasticsearch\
**Created:** [May 20, 2015, 12:34pm UTC](https://discuss.elastic.co/t/elasticsearch-client-without-lucene-dependencies/960 "2015-05-20T12:34:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![paul\_nibin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/paul_nibin/32/83206_2.png) [@paul\_nibin](https://discuss.elastic.co/u/paul_nibin)\
**Post date:** [May 20, 2015, 12:34pm UTC](https://discuss.elastic.co/t/elasticsearch-client-without-lucene-dependencies/960/1 "2015-05-20T12:34:22Z")

</div>

I want to use ElasticSearch transport client. But when I add the maven dependency for elasticsearch,

```
	<dependency>
		<groupId>org.elasticsearch</groupId>
		<artifactId>elasticsearch</artifactId>
		<version>1.5.1</version>
	</dependency>

```

It is getting 17 jars(around 19 MBs).

antlr-runtime-3.5.jar  
asm-4.1.jar  
asm-commons-4.1.jar  
elasticsearch-1.5.1.jar  
lucene-analyzers-common-4.10.4.jar  
lucene-core-4.10.4.jar  
lucene-grouping-4.10.4.jar  
lucene-highlighter-4.10.4.jar  
lucene-join-4.10.4.jar  
lucene-memory-4.10.4.jar  
lucene-misc-4.10.4.jar  
lucene-queries-4.10.4.jar  
lucene-queryparser-4.10.4.jar  
lucene-sandbox-4.10.4.jar  
lucene-spatial-4.10.4.jar  
lucene-suggest-4.10.4.jar  
spatial4j-0.4.1.jar

Do I need all these jars to use Transport Client?

What would be the maven/gradle dependecy to get only the required jars. I suppose, I won't need lucene jars, if I am using Transport Client.

Thank,  
Paul

---

<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:** [May 20, 2015, 12:51pm UTC](https://discuss.elastic.co/t/elasticsearch-client-without-lucene-dependencies/960/2 "2015-05-20T12:51:27Z")

</div>

Yes you need them for now.  
I would not try to remove anything.

---

<div class="post-metadata">

**Author:** ![paul\_nibin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/paul_nibin/32/83206_2.png) [@paul\_nibin](https://discuss.elastic.co/u/paul_nibin)\
**Post date:** [December 11, 2015, 11:06am UTC](https://discuss.elastic.co/t/elasticsearch-client-without-lucene-dependencies/960/3 "2015-12-11T11:06:55Z")

</div>

Now many new versions of ElasticSearch are released.

Is this some thing possible to do now? Are there any plans to make TransportClient independent of Lucene dependencies?

---

<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:31pm UTC](https://discuss.elastic.co/t/elasticsearch-client-without-lucene-dependencies/960/4 "2017-07-05T23:31:50Z")

</div>


