# Auto Referesh or Trigger the refresh to show the updated results

**URL:** <https://discuss.elastic.co/t/auto-referesh-or-trigger-the-refresh-to-show-the-updated-results/285915>\
**Category:** Elastic Search\
**Tags:** elastic-app-search\
**Created:** [October 5, 2021, 12:19pm UTC](https://discuss.elastic.co/t/auto-referesh-or-trigger-the-refresh-to-show-the-updated-results/285915 "2021-10-05T12:19:22Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![anuragchoudhary01](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/anuragchoudhary01/32/83611_2.png) [@anuragchoudhary01](https://discuss.elastic.co/u/anuragchoudhary01)\
**Post date:** [October 5, 2021, 12:19pm UTC](https://discuss.elastic.co/t/auto-referesh-or-trigger-the-refresh-to-show-the-updated-results/285915/1 "2021-10-05T12:19:22Z")

</div>

Hi,

I have one use case in which when I add the data to the AppSearch Engine from UI, it should reflect the changes on the Result View section(using Reference UI) at that moment.  
Currently, I need to refresh the page, only after that, it shows the newly added data to the Result section.

I have tried the setSearchTerm("") but it doesn't work . Please help and advise.  
`https://github.com/elastic/search-ui/blob/master/ADVANCED.md#actions`

---

<div class="post-metadata">

**Author:** ![anuragchoudhary01](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/anuragchoudhary01/32/83611_2.png) [@anuragchoudhary01](https://discuss.elastic.co/u/anuragchoudhary01)\
**Post date:** [October 13, 2021, 2:14pm UTC](https://discuss.elastic.co/t/auto-referesh-or-trigger-the-refresh-to-show-the-updated-results/285915/2 "2021-10-13T14:14:57Z")

</div>

Hi Team,  
If someone can help here.

---

<div class="post-metadata">

**Author:** ![JasonStoltz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jasonstoltz/32/49893_2.png) [@JasonStoltz](https://discuss.elastic.co/u/JasonStoltz)\
**Post date:** [October 13, 2021, 3:44pm UTC](https://discuss.elastic.co/t/auto-referesh-or-trigger-the-refresh-to-show-the-updated-results/285915/3 "2021-10-13T15:44:14Z")

</div>

Sorry, I thought I posted a reply to this, not sure what happened, trying again.

Search UI will cache responses by default, to keep the UI fast. You can turn this off using the `cacheResponses` configuration on the App Search connector: [search-ui/README.md at cb774e2ab1e6831ff40523c62d76b57d4c71ed5f · elastic/search-ui · GitHub](https://github.com/elastic/search-ui/blob/cb774e2ab1e6831ff40523c62d76b57d4c71ed5f/packages/search-ui-app-search-connector/README.md)

---

<div class="post-metadata">

**Author:** ![anuragchoudhary01](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/anuragchoudhary01/32/83611_2.png) [@anuragchoudhary01](https://discuss.elastic.co/u/anuragchoudhary01)\
**Post date:** [October 14, 2021, 6:00am UTC](https://discuss.elastic.co/t/auto-referesh-or-trigger-the-refresh-to-show-the-updated-results/285915/4 "2021-10-14T06:00:02Z")

</div>

Thanks, @JasonStoltz , Will try this and update here. 🙂

---

<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:** [November 11, 2021, 6:00am UTC](https://discuss.elastic.co/t/auto-referesh-or-trigger-the-refresh-to-show-the-updated-results/285915/5 "2021-11-11T06:00:29Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
