The ES is just passed through to the IndexSearchers that NRTManager
opens, so see IndexSearcher's javadocs.

But it's not clear how much passing an ES to IS really helps; you
should test yourself (and report back!).

Also, I wrote this blog post:

    
http://blog.mikemccandless.com/2011/11/near-real-time-readers-with-lucenes.html

Describing NRTManager and SearcherManager in general...

Mike McCandless

http://blog.mikemccandless.com

On Sun, Jan 15, 2012 at 1:18 PM, Cheng <zhoucheng2...@gmail.com> wrote:
> I saw the link,
> https://builds.apache.org/job/Lucene-3.x/javadoc/contrib-misc/org/apache/lucene/index/NRTManagerReopenThread.html,
> which talks about how to use the NRTManagerReopenThread.
>
> I am currently using the Java ExecutorService framework to utilize a
> multiple threading scenario. Pls see below.
>
> ExecutorService executor = Executors
> .newFixedThreadPool(ERConstants.maxThreads);
>
> for(;;){
> Runnable worker = new MyRunner(writer);
> executor.execute(worker);
> }
>
> executor.shutdown();
>
>
> My question is how to combine the ExecutorService framework with the
> NRTManager class.
>
> Thanks

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to