# About lucene NRT feature

**URL:** <https://discuss.elastic.co/t/about-lucene-nrt-feature/4257>\
**Category:** Elasticsearch\
**Created:** [April 19, 2011, 6:37pm UTC](https://discuss.elastic.co/t/about-lucene-nrt-feature/4257 "2011-04-19T18:37:42Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mustafa\_Sener](https://avatars.discourse-cdn.com/v4/letter/m/ed8c4c/32.png) [@Mustafa\_Sener](https://discuss.elastic.co/u/Mustafa_Sener)\
**Post date:** [April 19, 2011, 6:37pm UTC](https://discuss.elastic.co/t/about-lucene-nrt-feature/4257/1 "2011-04-19T18:37:42Z")

</div>

Hi,  
I investigated code and modified RobinEngine a little bit to give each  
search request a new IndexReader. When I do this I am able to get realtime  
data. I tested indexing performance and saw that there is no significant  
effect on it but I saw that search performance degraded very much (10-20  
times slower). But sometime we need really realtime data without refresh.  
Can we add a selective search request which returns real time data? We can  
set a flag on search request and that search request will get a new reader  
on indexwriter. Is this possible?

--  
Mustafa Sener  
[www.ifountain.com](http://www.ifountain.com)

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [April 19, 2011, 11:27pm UTC](https://discuss.elastic.co/t/about-lucene-nrt-feature/4257/2 "2011-04-19T23:27:51Z")

</div>

Yep, its possible, open a feature for it.  
On Tuesday, April 19, 2011 at 9:37 PM, Mustafa Sener wrote:

> Hi,  
> I investigated code and modified RobinEngine a little bit to give each search request a new IndexReader. When I do this I am able to get realtime data. I tested indexing performance and saw that there is no significant effect on it but I saw that search performance degraded very much (10-20 times slower). But sometime we need really realtime data without refresh. Can we add a selective search request which returns real time data? We can set a flag on search request and that search request will get a new reader on indexwriter. Is this possible?
> 
> --  
> Mustafa Sener  
> [www.ifountain.com](http://www.ifountain.com)

---

<div class="post-metadata">

**Author:** ![Mustafa\_Sener](https://avatars.discourse-cdn.com/v4/letter/m/ed8c4c/32.png) [@Mustafa\_Sener](https://discuss.elastic.co/u/Mustafa_Sener)\
**Post date:** [April 20, 2011, 5:41am UTC](https://discuss.elastic.co/t/about-lucene-nrt-feature/4257/3 "2011-04-20T05:41:45Z")

</div>

I created issue

> <https://github.com/elastic/elasticsearch/issues/870>
>
> Discussed in 
> http://elasticsearch-users.115913.n3.nabble.com/About-lucene-NRT-f…eature-tp2839693p2839693.html

On Wed, Apr 20, 2011 at 2:27 AM, Shay Banon [shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)wrote:

> Yep, its possible, open a feature for it.
> 
> On Tuesday, April 19, 2011 at 9:37 PM, Mustafa Sener wrote:
> 
> Hi,  
> I investigated code and modified RobinEngine a little bit to give each  
> search request a new IndexReader. When I do this I am able to get realtime  
> data. I tested indexing performance and saw that there is no significant  
> effect on it but I saw that search performance degraded very much (10-20  
> times slower). But sometime we need really realtime data without refresh.  
> Can we add a selective search request which returns real time data? We can  
> set a flag on search request and that search request will get a new reader  
> on indexwriter. Is this possible?
> 
> --  
> Mustafa Sener  
> [www.ifountain.com](http://www.ifountain.com)

--  
Mustafa Sener  
[www.ifountain.com](http://www.ifountain.com)  
WebRep  
Overall rating

---

<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, 4:08am UTC](https://discuss.elastic.co/t/about-lucene-nrt-feature/4257/4 "2017-07-06T04:08:02Z")

</div>

Closed on July 6, 2017, 4:08am UTC


