About lucene NRT feature


(Mustafa Sener) #1

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


(Shay Banon) #2

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


(Mustafa Sener) #3

I created issue

On Wed, Apr 20, 2011 at 2:27 AM, Shay Banon shay.banon@elasticsearch.comwrote:

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

--
Mustafa Sener
www.ifountain.com
WebRep
Overall rating


(system) #4