Single Jar for java API


(vineeth mohan) #1

Hi ,

I need my application to index some documents on Elastic Search.
I understand that i can do this perfectly by using a HTTP client API tp run
some GET calls on ES.

But then i am looking for a ES java client JAR which is able to do this. I
stumbled upon this link -
http://www.elasticsearch.org/guide/reference/java-api/

But then its asking me to include a heavy ES jar with lucene and all , which
is nearly impossible to accommodate.

Is there a single JAR for Java API alone which i can possibly fetch from a
maven repo ??

Thanks
Vineeth


(Gautam S) #2

You can use elasticsearch-0.17.7.jar which is under lib.

On Mon, Oct 3, 2011 at 11:30 AM, Vineeth Mohan vineethmohan@algotree.comwrote:

Hi ,

I need my application to index some documents on Elastic Search.
I understand that i can do this perfectly by using a HTTP client API tp run
some GET calls on ES.

But then i am looking for a ES java client JAR which is able to do this. I
stumbled upon this link -
http://www.elasticsearch.org/guide/reference/java-api/

But then its asking me to include a heavy ES jar with lucene and all ,
which is nearly impossible to accommodate.

Is there a single JAR for Java API alone which i can possibly fetch from a
maven repo ??

Thanks
Vineeth


(vineeth mohan) #3

That jar itself is 11 MB and it brings in lots of things like Lucene.
At the end when i create a assembly , i get a big jar which i don't need.

Is there any other way out ?

On Mon, Oct 3, 2011 at 11:51 AM, Gautam S gautam@datarpm.com wrote:

You can use elasticsearch-0.17.7.jar which is under lib.

On Mon, Oct 3, 2011 at 11:30 AM, Vineeth Mohan vineethmohan@algotree.comwrote:

Hi ,

I need my application to index some documents on Elastic Search.
I understand that i can do this perfectly by using a HTTP client API tp
run some GET calls on ES.

But then i am looking for a ES java client JAR which is able to do this. I
stumbled upon this link -
http://www.elasticsearch.org/guide/reference/java-api/

But then its asking me to include a heavy ES jar with lucene and all ,
which is nearly impossible to accommodate.

Is there a single JAR for Java API alone which i can possibly fetch from a
maven repo ??

Thanks
Vineeth


(David Pilato) #4

No there isn't.

David :wink:

Le 3 oct. 2011 à 08:53, Vineeth Mohan vineethmohan@algotree.com a écrit :

That jar itself is 11 MB and it brings in lots of things like Lucene.
At the end when i create a assembly , i get a big jar which i don't need.

Is there any other way out ?

On Mon, Oct 3, 2011 at 11:51 AM, Gautam S gautam@datarpm.com wrote:
You can use elasticsearch-0.17.7.jar which is under lib.

On Mon, Oct 3, 2011 at 11:30 AM, Vineeth Mohan vineethmohan@algotree.com wrote:
Hi ,

I need my application to index some documents on Elastic Search.
I understand that i can do this perfectly by using a HTTP client API tp run some GET calls on ES.

But then i am looking for a ES java client JAR which is able to do this. I stumbled upon this link - http://www.elasticsearch.org/guide/reference/java-api/

But then its asking me to include a heavy ES jar with lucene and all , which is nearly impossible to accommodate.

Is there a single JAR for Java API alone which i can possibly fetch from a maven repo ??

Thanks
Vineeth


(vineeth mohan) #5

I feel it should be present.....
What is your opinion ?

Thanks
Vineeth

On Mon, Oct 3, 2011 at 12:38 PM, David Pilato david@pilato.fr wrote:

No there isn't.

David :wink:

Le 3 oct. 2011 à 08:53, Vineeth Mohan vineethmohan@algotree.com a
écrit :

That jar itself is 11 MB and it brings in lots of things like Lucene.
At the end when i create a assembly , i get a big jar which i don't need.

Is there any other way out ?

On Mon, Oct 3, 2011 at 11:51 AM, Gautam S < gautam@datarpm.com
gautam@datarpm.com> wrote:

You can use elasticsearch-0.17.7.jar which is under lib.

On Mon, Oct 3, 2011 at 11:30 AM, Vineeth Mohan <vineethmohan@algotree.com
vineethmohan@algotree.com> wrote:

Hi ,

I need my application to index some documents on Elastic Search.
I understand that i can do this perfectly by using a HTTP client API tp
run some GET calls on ES.

But then i am looking for a ES java client JAR which is able to do this.
I stumbled upon this link -
http://www.elasticsearch.org/guide/reference/java-api/
http://www.elasticsearch.org/guide/reference/java-api/

But then its asking me to include a heavy ES jar with lucene and all ,
which is nearly impossible to accommodate.

Is there a single JAR for Java API alone which i can possibly fetch from
a maven repo ??

Thanks
Vineeth


(system) #6