0

I just realized that elastic4s has a dependency to org.elasticsearch, and that dependency is downloading 20 Mb of library.

For what I have seen in the github repo for elastic4s there are 66 references to the package org.elasticsearch in the code. Nevertheless as far as elastic4s is a client, I was wondering if there is a way to get rid of it of this dependency, or at least make it less heavy.

Any thoughts on this are welcome?

Thanks in advance.

Sal81
  • 101
  • 1
  • 1
  • 7

1 Answers1

1

Elastic4s needs the elasticsearch jar as it is essentially a Scala DSL over the top of the Java client. In order to remove the 20mb of dependencies, we'd need the Elasticsearch team to decouple the server from the client and release those as seperate jars (if that's feasible, as a transport client acts as a node, and I imagine shares a lot of code).

sksamuel
  • 16,154
  • 8
  • 60
  • 108
  • 1
    Thanks for the clarification, and congrats for the work done in elastic4s, its working really smooth for us. – Sal81 Feb 25 '15 at 14:44