Re: NRTManager, NRTManagerReopenThread and ExecutorServices example

2012-01-18 Thread Peter K
Not sure when you would need an ExecutorService (why do you think you need one?) but here are some links for the other two: http://blog.mikemccandless.com/2011/11/near-real-time-readers-with-lucenes.html http://blog.mikemccandless.com/2011/09/lucenes-searchermanager-simplifies.html https://github.

NRTManager, NRTManagerReopenThread and ExecutorServices example

2012-01-18 Thread Cheng
Hi, can any of you provide a working code example that utilizes the NRTManager, NRTManagerReopenThread and ExecutorServices instances? The limited availability of information regarding these classes really drives me nut. Thanks

Re: ArrayIndexOutOfBoundsException: -65536

2012-01-18 Thread Michael McCandless
Hmm, are you certain your RAM buffer is 3 MB? Is it possible you are indexing an absurdly enormous document...? Finally, it's possible this is a hardware issue; does it happen on other machines? Mike McCandless http://blog.mikemccandless.com On Wed, Jan 18, 2012 at 8:15 AM, Duke DAI wrote: >

Re: ArrayIndexOutOfBoundsException: -65536

2012-01-18 Thread Duke DAI
Dear Mike, Thank you very much and sorry for the late reply. Followings are the trace stack, the lucene code line is 3.0.3. From line numbers, lucene is adding payload field to the buffer. This had been tested millions of times in various customers and internally. But recently the exception happen