Is IndexRequestBuilder reusable?


(Israel Klein) #1

Hi,

Can I reuse an IndexRequestBuilder instance or must I create a new one for
each request?

Thanks,

Israel


(Shay Banon) #2

You can potentially reuse it, just not across threads.

On Tue, Jun 19, 2012 at 11:05 AM, Israel Klein israel.klein@gmail.comwrote:

Hi,

Can I reuse an IndexRequestBuilder instance or must I create a new one for
each request?

Thanks,

Israel


(Israel Klein) #3

10x

On Thursday, June 21, 2012 11:08:10 AM UTC+3, kimchy wrote:

You can potentially reuse it, just not across threads.

On Tue, Jun 19, 2012 at 11:05 AM, Israel Klein israel.klein@gmail.comwrote:

Hi,

Can I reuse an IndexRequestBuilder instance or must I create a new one
for each request?

Thanks,

Israel


(system) #4