Import jar to lucene ant build script

2012-01-15 Thread seb
I'm having trouble including the guava (http://code.google.com/p/guava-libraries/) library in my ant build script for lucene (lucene-3.5.0/build.xml). I'm trying to build the demo with the addition specified in the answer to this question: http://stackoverflow.com/questions/8814190/detect-duplicate

Re: How NRTManagerReopenThread works with Java Executor framework?

2012-01-15 Thread dyzc
I am confused by the ES instance. Is it used for reading indexes only, or for creating and executing runnable instances like in my example? -- Original -- From: "Michael McCandless"; Date: Mon, Jan 16, 2012 02:53 AM To: "java-user"; Subject: Re: How NRTM

Re: ArrayIndexOutOfBoundsException: -65536

2012-01-15 Thread Michael McCandless
Do you have a full traceback of the exception? Mike McCandless http://blog.mikemccandless.com On Sun, Jan 15, 2012 at 7:21 PM, Duke DAI wrote: > Hi friends, > Any one meet ArrayIndexOutOfBoundsException: -65536 described in > https://issues.apache.org/jira/browse/LUCENE-1995 after it declared b

Re: 3.5.0 javadocs link missing?

2012-01-15 Thread Michael McCandless
OK this is now fixed I think! And for the record: nothing seems to auto-push this site ;) Mike McCandless http://blog.mikemccandless.com On Fri, Jan 13, 2012 at 1:57 PM, Michael McCandless wrote: > Indeed the 3.5.0 link is missing!  I just committed a fix but is > this site automagically p

ArrayIndexOutOfBoundsException: -65536

2012-01-15 Thread Duke DAI
Hi friends, Any one meet ArrayIndexOutOfBoundsException: -65536 described in https://issues.apache.org/jira/browse/LUCENE-1995 after it declared being fixed? My lucene version is 3.0.3 and MaxRAMBufferSize is 3M. All other configurations seem to be normal. It's hard to describe the environment and

Re: How NRTManagerReopenThread works with Java Executor framework?

2012-01-15 Thread Simon Willnauer
I think the question is more related to the reopen thread. This class directly extends Thread and instead of calling Thread#start() directly you can simply pass it to the Executor since it implements Runnable - is that what you are asking for? simon On Sun, Jan 15, 2012 at 7:53 PM, Michael McCandl

Re: How NRTManagerReopenThread works with Java Executor framework?

2012-01-15 Thread Michael McCandless
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-re

How NRTManagerReopenThread works with Java Executor framework?

2012-01-15 Thread Cheng
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 belo