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

Reply via email to