# IdsFilter == (RealTimeAspect) Real-Time-GET?

**URL:** <https://discuss.elastic.co/t/idsfilter-realtimeaspect-real-time-get/11534>\
**Category:** Elasticsearch\
**Created:** [April 10, 2013, 3:06pm UTC](https://discuss.elastic.co/t/idsfilter-realtimeaspect-real-time-get/11534 "2013-04-10T15:06:13Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hans1](https://avatars.discourse-cdn.com/v4/letter/h/e68b1a/32.png) [@Hans1](https://discuss.elastic.co/u/Hans1)\
**Post date:** [April 10, 2013, 3:06pm UTC](https://discuss.elastic.co/t/idsfilter-realtimeaspect-real-time-get/11534/1 "2013-04-10T15:06:13Z")

</div>

Hi there,

I'm wondering if using an IdsFilter will get me real (!near) real time  
results as in real time get?

Cheers,  
Hans

--  
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:** ![Ivan](https://avatars.discourse-cdn.com/v4/letter/i/df788c/32.png) [@Ivan](https://discuss.elastic.co/u/Ivan)\
**Post date:** [April 10, 2013, 4:10pm UTC](https://discuss.elastic.co/t/idsfilter-realtimeaspect-real-time-get/11534/2 "2013-04-10T16:10:27Z")

</div>

IIRC, a Get request will query both the Lucene index and the transaction  
log (real-time), while any search will only access the Lucene index (near  
real time).

--  
Ivan

On Wed, Apr 10, 2013 at 8:06 AM, Hans [hansmandal@googlemail.com](mailto:hansmandal@googlemail.com) wrote:

> Hi there,
> 
> I'm wondering if using an IdsFilter will get me real (!near) real time  
> results as in real time get?
> 
> Cheers,  
> Hans
> 
> --  
> 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:** ![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:** [April 11, 2013, 7:33am UTC](https://discuss.elastic.co/t/idsfilter-realtimeaspect-real-time-get/11534/3 "2013-04-11T07:33:28Z")

</div>

Hey

correct. Whenever you are doing a search, you are always relying on lucene  
search capabilities (even in case you are doing a simple id filter), which  
means a refresh has to happen, before the data you indexed is available for  
search. A search does not query the transaction log (because it is a simple  
journal and not an inverted index suitable for search), where as a GET  
(which simply uses the id) can check in the transaction log.

I am currently trying to sum up a little bit, what happens under the hood,  
how the transaction log is used to provide real time get (how the  
transaction log is used for recovery on startup), etc... hopefully I can  
make a real blog post from that.

--Alex

On Wed, Apr 10, 2013 at 6:10 PM, Ivan Brusic [ivan@brusic.com](mailto:ivan@brusic.com) wrote:

> IIRC, a Get request will query both the Lucene index and the transaction  
> log (real-time), while any search will only access the Lucene index (near  
> real time).
> 
> --  
> Ivan
> 
> On Wed, Apr 10, 2013 at 8:06 AM, Hans [hansmandal@googlemail.com](mailto:hansmandal@googlemail.com) wrote:
> 
> > Hi there,
> > 
> > I'm wondering if using an IdsFilter will get me real (!near) real time  
> > results as in real time get?
> > 
> > Cheers,  
> > Hans
> > 
> > --  
> > 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).

--  
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:** ![Hans1](https://avatars.discourse-cdn.com/v4/letter/h/e68b1a/32.png) [@Hans1](https://discuss.elastic.co/u/Hans1)\
**Post date:** [April 11, 2013, 9:52am UTC](https://discuss.elastic.co/t/idsfilter-realtimeaspect-real-time-get/11534/4 "2013-04-11T09:52:37Z")

</div>

Ok, good to know that, 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).  
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:41am UTC](https://discuss.elastic.co/t/idsfilter-realtimeaspect-real-time-get/11534/5 "2017-07-06T02:41:37Z")

</div>


