# ElasticSearch Java API without Lucene dependency

**URL:** <https://discuss.elastic.co/t/elasticsearch-java-api-without-lucene-dependency/21209>\
**Category:** Elasticsearch\
**Created:** [December 11, 2014, 11:04am UTC](https://discuss.elastic.co/t/elasticsearch-java-api-without-lucene-dependency/21209 "2014-12-11T11:04:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![TekTimmy](https://avatars.discourse-cdn.com/v4/letter/t/54ee81/32.png) [@TekTimmy](https://discuss.elastic.co/u/TekTimmy)\
**Post date:** [December 11, 2014, 11:04am UTC](https://discuss.elastic.co/t/elasticsearch-java-api-without-lucene-dependency/21209/1 "2014-12-11T11:04:48Z")

</div>

Hi ES community =)

I would like to use the Java API to connect to an ES Cluster but run into  
dependency problems with Lucene. (Using an embedded neo4j which depends on  
Lucene 3.x)

When using the HTTP API directly, Lucene is not necessary!  
So is there a way how I can use the ES Java API without the Lucene  
dependency ??

Greets  
Timmy

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/b8fae981-21b5-4737-b168-228e405f9b56%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/b8fae981-21b5-4737-b168-228e405f9b56%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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:** [December 11, 2014, 11:13am UTC](https://discuss.elastic.co/t/elasticsearch-java-api-without-lucene-dependency/21209/2 "2014-12-11T11:13:42Z")

</div>

I don’t think you can. You could have a look at JEST project which might not depend on Lucene.

--  
David Pilato | Technical Advocate | [Elasticsearch.com](http://Elasticsearch.com)  
@dadoonet [https://twitter.com/dadoonet](https://twitter.com/dadoonet) | @elasticsearchfr [https://twitter.com/elasticsearchfr](https://twitter.com/elasticsearchfr) | @scrutmydocs [https://twitter.com/scrutmydocs](https://twitter.com/scrutmydocs)

> Le 11 déc. 2014 à 12:04, TekTimmy [timmyschweer@gmail.com](mailto:timmyschweer@gmail.com) a écrit :
> 
> Hi ES community =)
> 
> I would like to use the Java API to connect to an ES Cluster but run into dependency problems with Lucene. (Using an embedded neo4j which depends on Lucene 3.x)
> 
> When using the HTTP API directly, Lucene is not necessary!  
> So is there a way how I can use the ES Java API without the Lucene dependency ??
> 
> Greets  
> Timmy
> 
> --  
> You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com) [mailto:elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/b8fae981-21b5-4737-b168-228e405f9b56%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/b8fae981-21b5-4737-b168-228e405f9b56%40googlegroups.com) [https://groups.google.com/d/msgid/elasticsearch/b8fae981-21b5-4737-b168-228e405f9b56%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/b8fae981-21b5-4737-b168-228e405f9b56%40googlegroups.com?utm_medium=email&utm_source=footer).  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout) [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/78C7B61C-3B11-4F28-B348-E2308AF71283%40pilato.fr](https://groups.google.com/d/msgid/elasticsearch/78C7B61C-3B11-4F28-B348-E2308AF71283%40pilato.fr).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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 6, 2017, 12:44am UTC](https://discuss.elastic.co/t/elasticsearch-java-api-without-lucene-dependency/21209/3 "2017-07-06T00:44:12Z")

</div>


