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

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

2010-02-02 Thread Uwe Schindler
yahoo.co.in] > Sent: Tuesday, February 02, 2010 9:24 AM > To: java-user@lucene.apache.org > Subject: Re: [Bulk] RE: Exception while adding document in 3.0 > > I tried My App with v2.9.0 without reusing Documents and it is working > fine. > > Based on the suggestion from grou

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

2010-02-02 Thread Ganesh
this approach. Documents cannot be re-used in v3.0? Regards Ganesh - Original Message - From: "Uwe Schindler" To: Sent: Tuesday, February 02, 2010 1:41 PM Subject: [Bulk] RE: Exception while adding document in 3.0 > They can. > > - > Uwe Schindler > H.-H

RE: Exception while adding document in 3.0

2010-02-02 Thread Uwe Schindler
: Re: Exception while adding document in 3.0 > > Documents cannot be re-used in v3.0? > http://wiki.apache.org/lucene-java/ImproveIndexingSpeed > > -glen > http://zzzoot.blogspot.com/ > > On 2 February 2010 02:55, Simon Willnauer > wrote: > > Ganesh, > >

Re: Exception while adding document in 3.0

2010-02-02 Thread Glen Newton
Documents cannot be re-used in v3.0? http://wiki.apache.org/lucene-java/ImproveIndexingSpeed -glen http://zzzoot.blogspot.com/ On 2 February 2010 02:55, Simon Willnauer wrote: > Ganesh, > > do you reuse your Document instances in any way or do you create new > docs for each add? > > simon > > O

Re: Exception while adding document in 3.0

2010-02-01 Thread Simon Willnauer
Ganesh, do you reuse your Document instances in any way or do you create new docs for each add? simon On Tue, Feb 2, 2010 at 7:18 AM, Ganesh wrote: > I am getting below exception, while adding documents. I am adding documents > continously and at some point, i am getting the below exception. T