Java Client


(Dustin Whitney) #1

Where do I download the java client? The maven repo mentioned in the
documentation doesn't seem to have it.

Dustin


(Shay Banon) #2

Its part of the elasticsearch jar, its actually being used heavily within
elasticsearch within its REST module.

-shay.banon

On Thu, Jul 1, 2010 at 4:36 AM, Dustin Whitney dustin.whitney@gmail.comwrote:

Where do I download the java client? The maven repo mentioned in the
documentation doesn't seem to have it.

Dustin


(Dustin Whitney) #3

I guess the documentation is out of date? I can't get this to compile:

http://www.elasticsearch.com/docs/elasticsearch/java_api/index/#Source_Parameter

and I don't see anything called
org.elasticsearch.util.xcontent.XContentBuilder in the source tree on
github.

Dustin

On Thu, Jul 1, 2010 at 3:18 AM, Shay Banon shay.banon@elasticsearch.comwrote:

Its part of the elasticsearch jar, its actually being used heavily within
elasticsearch within its REST module.

-shay.banon

On Thu, Jul 1, 2010 at 4:36 AM, Dustin Whitney dustin.whitney@gmail.comwrote:

Where do I download the java client? The maven repo mentioned in the
documentation doesn't seem to have it.

Dustin


(Shay Banon) #4

Yea, in 0.9 there has been refactoring for this. If you use master, then use
the new Java API, the prepareXXX methods (they are much simpler).

-shay.banon

On Thu, Jul 1, 2010 at 5:29 PM, Dustin Whitney dustin.whitney@gmail.comwrote:

I guess the documentation is out of date? I can't get this to compile:

http://www.elasticsearch.com/docs/elasticsearch/java_api/index/#Source_Parameter

and I don't see anything called
org.elasticsearch.util.xcontent.XContentBuilder in the source tree on
github.

Dustin

On Thu, Jul 1, 2010 at 3:18 AM, Shay Banon shay.banon@elasticsearch.comwrote:

Its part of the elasticsearch jar, its actually being used heavily within
elasticsearch within its REST module.

-shay.banon

On Thu, Jul 1, 2010 at 4:36 AM, Dustin Whitney dustin.whitney@gmail.comwrote:

Where do I download the java client? The maven repo mentioned in the
documentation doesn't seem to have it.

Dustin


(system) #5