Re: [Bulk] RE: [Bulk] RE: Exception while adding document in 3.0

2010-02-02 Thread Ian Lea
> But still i didn't see much increase in performance by reusing documents and > field objects. Oh well, some you win, some you lose. Although it sounds like you're still winning. Are you following all the other advice on http://wiki.apache.org/lucene-java/ImproveIndexingSpeed. Maybe the best

Re: [Bulk] RE: [Bulk] RE: Exception while adding document in 3.0

2010-02-02 Thread Ganesh
ject: [Bulk] RE: [Bulk] RE: Exception while adding document in 3.0 They can be reused, but the exception and looking into the code shows that you are doing it wrong. You can reuse Documents but only under two conditions: a) In one thread, not one document in multithreaded app - one document p