# Problem with searching is taking too much time

**URL:** <https://discuss.elastic.co/t/problem-with-searching-is-taking-too-much-time/22011>\
**Category:** Elasticsearch\
**Created:** [February 6, 2015, 11:43am UTC](https://discuss.elastic.co/t/problem-with-searching-is-taking-too-much-time/22011 "2015-02-06T11:43:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Svetlozar\_Penev](https://avatars.discourse-cdn.com/v4/letter/s/8edcca/32.png) [@Svetlozar\_Penev](https://discuss.elastic.co/u/Svetlozar_Penev)\
**Post date:** [February 6, 2015, 11:43am UTC](https://discuss.elastic.co/t/problem-with-searching-is-taking-too-much-time/22011/1 "2015-02-06T11:43:04Z")

</div>

I got problem with searching. Simple search is taking more than 10 seconds.

I`m using Amazon EC2 and have two instance with 8GB RAM and 4 Cores (So 16GB RAM and 8 cores) . I`m using PHP SDK.

The case went search is taking 10 sec:  
I have XML feed from which i`m reading *item*. My process is to read the *item, *check if exist and then save it. I call elasticsearch 4 times per second, which is working really nice. After I set 6 times per second searching go slower.I start debugging and checking the *item *is taking more then 10 sec. I`m using paramedic for monitoring and is saying GREEN STATUS.  
How can I fix this ?

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/10baa7d0-51b6-4ca2-bf9f-31436ed67aef%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/10baa7d0-51b6-4ca2-bf9f-31436ed67aef%40googlegroups.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, 12:34am UTC](https://discuss.elastic.co/t/problem-with-searching-is-taking-too-much-time/22011/2 "2017-07-06T00:34:31Z")

</div>


