ElasticSearch 1.1.0 is slower compared to ES 0.90.3?

Hi,

I was using ES 0.90.3 in production earlier but after moving to ES 1.1.0,
it is taking a longer time for a search query to fetch results ? I'm using
same mapping and same search query. The only difference is that I'm using
jdk 1.6. Should I migrate to 1.7 ? Also, how does sharding and replica
affect searching time ? Can anyone please tell me the major factors which
affect the search time ?

Thanks

--
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/15b09071-b410-45cf-b7a9-db181e8d95fa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

You should notbe using < JDK 1.7.
Upgrade to at least 1.7u25, preferably 1.7u55, and Oracle not OpenJDK.

Regards,
Mark Walkom

Infrastructure Engineer
Campaign Monitor
email: markw@campaignmonitor.com
web: www.campaignmonitor.com

On 10 June 2014 02:34, coder mukulnitkkr@gmail.com wrote:

Hi,

I was using ES 0.90.3 in production earlier but after moving to ES 1.1.0,
it is taking a longer time for a search query to fetch results ? I'm using
same mapping and same search query. The only difference is that I'm using
jdk 1.6. Should I migrate to 1.7 ? Also, how does sharding and replica
affect searching time ? Can anyone please tell me the major factors which
affect the search time ?

Thanks

--
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/15b09071-b410-45cf-b7a9-db181e8d95fa%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/15b09071-b410-45cf-b7a9-db181e8d95fa%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
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/CAEM624Z2sJK3Kwvb_VFCXXvCBP%2BrguKnBXkKcu_X8R-o0djATA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Are you sure about jdk 1.7 ? My guess is one should use jdk 1.7 with ES
1.2.0. Also, earlier with ES 0.90.3 it was working fine. How can jdk
version affect the search query time ?

On Tuesday, 10 June 2014 03:56:53 UTC+5:30, Mark Walkom wrote:

You should notbe using < JDK 1.7.
Upgrade to at least 1.7u25, preferably 1.7u55, and Oracle not OpenJDK.

Regards,
Mark Walkom

Infrastructure Engineer
Campaign Monitor
email: ma...@campaignmonitor.com <javascript:>
web: www.campaignmonitor.com

On 10 June 2014 02:34, coder <mukul...@gmail.com <javascript:>> wrote:

Hi,

I was using ES 0.90.3 in production earlier but after moving to ES 1.1.0,
it is taking a longer time for a search query to fetch results ? I'm using
same mapping and same search query. The only difference is that I'm using
jdk 1.6. Should I migrate to 1.7 ? Also, how does sharding and replica
affect searching time ? Can anyone please tell me the major factors which
affect the search time ?

Thanks

--
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 elasticsearc...@googlegroups.com <javascript:>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/15b09071-b410-45cf-b7a9-db181e8d95fa%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/15b09071-b410-45cf-b7a9-db181e8d95fa%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
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/9080ebf2-415a-4367-9313-4970368518e1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

The < means less than, ie you should not be using less than 1.7.

There are a lot of bug and performance fixes in later versions of java,
that will impact the performance and stability of any application that uses
it.

Regards,
Mark Walkom

Infrastructure Engineer
Campaign Monitor
email: markw@campaignmonitor.com
web: www.campaignmonitor.com

On 10 June 2014 15:23, coder mukulnitkkr@gmail.com wrote:

Are you sure about jdk 1.7 ? My guess is one should use jdk 1.7 with ES
1.2.0. Also, earlier with ES 0.90.3 it was working fine. How can jdk
version affect the search query time ?

On Tuesday, 10 June 2014 03:56:53 UTC+5:30, Mark Walkom wrote:

You should notbe using < JDK 1.7.
Upgrade to at least 1.7u25, preferably 1.7u55, and Oracle not OpenJDK.

Regards,
Mark Walkom

Infrastructure Engineer
Campaign Monitor
email: ma...@campaignmonitor.com
web: www.campaignmonitor.com

On 10 June 2014 02:34, coder mukul...@gmail.com wrote:

Hi,

I was using ES 0.90.3 in production earlier but after moving to ES
1.1.0, it is taking a longer time for a search query to fetch results ? I'm
using same mapping and same search query. The only difference is that I'm
using jdk 1.6. Should I migrate to 1.7 ? Also, how does sharding and
replica affect searching time ? Can anyone please tell me the major factors
which affect the search time ?

Thanks

--
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 elasticsearc...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/
msgid/elasticsearch/15b09071-b410-45cf-b7a9-db181e8d95fa%
40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/15b09071-b410-45cf-b7a9-db181e8d95fa%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
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/9080ebf2-415a-4367-9313-4970368518e1%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/9080ebf2-415a-4367-9313-4970368518e1%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
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/CAEM624Y4YcsYvOuNpjmijp_PovzCf_PG5msnRPfzmC6XyHwUVw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.