# Data available for filter or serach after udpate or creat?

**URL:** <https://discuss.elastic.co/t/data-available-for-filter-or-serach-after-udpate-or-creat/13187>\
**Category:** Elasticsearch\
**Created:** [August 12, 2013, 9:25pm UTC](https://discuss.elastic.co/t/data-available-for-filter-or-serach-after-udpate-or-creat/13187 "2013-08-12T21:25:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Victor\_Huang](https://avatars.discourse-cdn.com/v4/letter/v/49beb7/32.png) [@Victor\_Huang](https://discuss.elastic.co/u/Victor_Huang)\
**Post date:** [August 12, 2013, 9:25pm UTC](https://discuss.elastic.co/t/data-available-for-filter-or-serach-after-udpate-or-creat/13187/1 "2013-08-12T21:25:25Z")

</div>

Hi, Guys:  
I know the result won't show up in search after updating a existing  
record or creating a new record. is this true for filtering as well? and  
the only way to access the newly update/created record is find by ID?

Thanks

Vic

--  
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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [August 13, 2013, 6:57am UTC](https://discuss.elastic.co/t/data-available-for-filter-or-serach-after-udpate-or-creat/13187/2 "2013-08-13T06:57:00Z")

</div>

Hey,

filtering is also a search operation like querying is, so the results do  
not show up until the next refresh (which happens every second by default).  
If you really have to (or you are running in a test) you can trigger a  
refresh after your index operation, either as a parameter of the index  
operation or as an own API call.

Until the refresh happened, you will have to access the document by ID.

--Alex

On Mon, Aug 12, 2013 at 11:25 PM, Victor [vicwin@gmail.com](mailto:vicwin@gmail.com) wrote:

> Hi, Guys:  
> I know the result won't show up in search after updating a existing  
> record or creating a new record. is this true for filtering as well? and  
> the only way to access the newly update/created record is find by ID?
> 
> Thanks
> 
> Vic
> 
> --  
> 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).  
> For more options, visit [https://groups.google.com/groups/opt\_out](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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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, 2:21am UTC](https://discuss.elastic.co/t/data-available-for-filter-or-serach-after-udpate-or-creat/13187/3 "2017-07-06T02:21:26Z")

</div>

Closed on July 6, 2017, 2:21am UTC


