[Java API] Is QueryBuiler thread safe?


(Arinto Murdopo) #1

Hi all,

Is QueryBuilder implementation thread-safe?
I plan to use one static QueryBuilder class that is shared by several
threads.

Best regards,

Arinto

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/e5bdb747-d412-42af-8b7e-fc6157b33bad%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(Nik Everett) #2

None of the builders are thread safe, no. I believe they are all quite
light weight though.

On Mon, Feb 10, 2014 at 9:25 PM, Arinto Murdopo arinto@gmail.com wrote:

Hi all,

Is QueryBuilder implementation thread-safe?
I plan to use one static QueryBuilder class that is shared by several
threads.

Best regards,

Arinto

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/e5bdb747-d412-42af-8b7e-fc6157b33bad%40googlegroups.com
.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAPmjWd22soh8N9YFxCn3e-OAUWjrc3VdT7F4FFYjFXZeiiF%3D%3Dw%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


(Arinto Murdopo) #3

Okay, noted.

Thanks and best regards,

Arinto

On 02/11/2014 10:42 AM, Nikolas Everett wrote:

None of the builders are thread safe, no. I believe they are all
quite light weight though.

On Mon, Feb 10, 2014 at 9:25 PM, Arinto Murdopo <arinto@gmail.com
mailto:arinto@gmail.com> wrote:

Hi all,

Is QueryBuilder implementation thread-safe?
I plan to use one static QueryBuilder class that is shared by
several threads.

Best regards,

Arinto
-- 
You received this message because you are subscribed to the Google
Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to elasticsearch+unsubscribe@googlegroups.com
<mailto:elasticsearch%2Bunsubscribe@googlegroups.com>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/e5bdb747-d412-42af-8b7e-fc6157b33bad%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to a topic in the
Google Groups "elasticsearch" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/elasticsearch/wsdmFnLukMI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/CAPmjWd22soh8N9YFxCn3e-OAUWjrc3VdT7F4FFYjFXZeiiF%3D%3Dw%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/52F9916A.7010508%40gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


(system) #4