# ElasticSearch 1.1.0 is slower compared to ES 0.90.3?

**URL:** <https://discuss.elastic.co/t/elasticsearch-1-1-0-is-slower-compared-to-es-0-90-3/17998>\
**Category:** Elasticsearch\
**Created:** [June 9, 2014, 4:34pm UTC](https://discuss.elastic.co/t/elasticsearch-1-1-0-is-slower-compared-to-es-0-90-3/17998 "2014-06-09T16:34:33Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![dark\_shadow](https://avatars.discourse-cdn.com/v4/letter/d/4af34b/32.png) [@dark\_shadow](https://discuss.elastic.co/u/dark_shadow)\
**Post date:** [June 9, 2014, 4:34pm UTC](https://discuss.elastic.co/t/elasticsearch-1-1-0-is-slower-compared-to-es-0-90-3/17998/1 "2014-06-09T16:34:33Z")

</div>

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](mailto: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).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [June 9, 2014, 10:26pm UTC](https://discuss.elastic.co/t/elasticsearch-1-1-0-is-slower-compared-to-es-0-90-3/17998/2 "2014-06-09T22:26:14Z")

</div>

You should _not_be 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](mailto:markw@campaignmonitor.com)  
web: [www.campaignmonitor.com](http://www.campaignmonitor.com)

On 10 June 2014 02:34, coder [mukulnitkkr@gmail.com](mailto: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](mailto: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)  
> [https://groups.google.com/d/msgid/elasticsearch/15b09071-b410-45cf-b7a9-db181e8d95fa%40googlegroups.com?utm\_medium=email&utm\_source=footer](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](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](mailto: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](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](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![dark\_shadow](https://avatars.discourse-cdn.com/v4/letter/d/4af34b/32.png) [@dark\_shadow](https://discuss.elastic.co/u/dark_shadow)\
**Post date:** [June 10, 2014, 5:23am UTC](https://discuss.elastic.co/t/elasticsearch-1-1-0-is-slower-compared-to-es-0-90-3/17998/3 "2014-06-10T05:23:05Z")

</div>

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 _not_be 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](mailto:ma...@campaignmonitor.com) \<javascript:\>  
> web: [www.campaignmonitor.com](http://www.campaignmonitor.com)
> 
> On 10 June 2014 02:34, coder \<[mukul...@gmail.com](mailto: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](mailto: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)  
> > [https://groups.google.com/d/msgid/elasticsearch/15b09071-b410-45cf-b7a9-db181e8d95fa%40googlegroups.com?utm\_medium=email&utm\_source=footer](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](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](mailto: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).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [June 10, 2014, 5:27am UTC](https://discuss.elastic.co/t/elasticsearch-1-1-0-is-slower-compared-to-es-0-90-3/17998/4 "2014-06-10T05:27:42Z")

</div>

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](mailto:markw@campaignmonitor.com)  
web: [www.campaignmonitor.com](http://www.campaignmonitor.com)

On 10 June 2014 15:23, coder [mukulnitkkr@gmail.com](mailto: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 _not_be 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](mailto:ma...@campaignmonitor.com)  
> > web: [www.campaignmonitor.com](http://www.campaignmonitor.com)
> > 
> > On 10 June 2014 02:34, coder [mukul...@gmail.com](mailto: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](mailto:elasticsearc...@googlegroups.com).  
> > > To view this discussion on the web visit [https://groups.google.com/d/](https://groups.google.com/d/)  
> > > msgid/elasticsearch/15b09071-b410-45cf-b7a9-db181e8d95fa%  
> > > [40googlegroups.com](http://40googlegroups.com)  
> > > [https://groups.google.com/d/msgid/elasticsearch/15b09071-b410-45cf-b7a9-db181e8d95fa%40googlegroups.com?utm\_medium=email&utm\_source=footer](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](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](mailto: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)  
> > [https://groups.google.com/d/msgid/elasticsearch/9080ebf2-415a-4367-9313-4970368518e1%40googlegroups.com?utm\_medium=email&utm\_source=footer](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](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](mailto: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](https://groups.google.com/d/msgid/elasticsearch/CAEM624Y4YcsYvOuNpjmijp_PovzCf_PG5msnRPfzmC6XyHwUVw%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 1:23am UTC](https://discuss.elastic.co/t/elasticsearch-1-1-0-is-slower-compared-to-es-0-90-3/17998/5 "2017-07-06T01:23:39Z")

</div>


