Attachment is type is not available in Java API?


(canal) #1

Hello,
Just wanted to confirm if the attachment type is not supported in Java API
right?

So in order to post attachment, I should use HTTP since I can use all the APIs ?
thanks,
canal


(Lukáš Vlček) #2

Hi,

did you check SimpleAttachmentIntegrationTests for Java API example?

Regards,
Lukas

On Fri, Feb 25, 2011 at 3:05 PM, go canal gocanal@yahoo.com wrote:

Hello,
Just wanted to confirm if the attachment type is not supported in Java API
right?

So in order to post attachment, I should use HTTP since I can use all the
APIs ?

thanks,
canal


(Shay Banon) #3

Just to clarify things, the REST API is completely built on top of the Java API, so anything that is supported by REST is supported in the Java API.
On Friday, February 25, 2011 at 4:20 PM, Lukáš Vlček wrote:

Hi,

did you check SimpleAttachmentIntegrationTests for Java API example?

Regards,
Lukas

On Fri, Feb 25, 2011 at 3:05 PM, go canal gocanal@yahoo.com wrote:

Hello,
Just wanted to confirm if the attachment type is not supported in Java API right?

So in order to post attachment, I should use HTTP since I can use all the APIs ?
thanks,
canal


(canal) #4

Thank you very much, have been looking for the solution for a while.

Now I downloaded the source and looking at it...
thanks,
canal


From: Lukáš Vlček lukas.vlcek@gmail.com
To: users@elasticsearch.com
Sent: Fri, February 25, 2011 10:20:58 PM
Subject: Re: attachment is type is not available in Java API?

Hi,

did you check SimpleAttachmentIntegrationTests for Java API example?

Regards,
Lukas

On Fri, Feb 25, 2011 at 3:05 PM, go canal gocanal@yahoo.com wrote:

Hello,

Just wanted to confirm if the attachment type is not supported in Java API
right?

So in order to post attachment, I should use HTTP since I can use all the APIs
?
thanks,
canal


(system) #5