> 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
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
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
I tried My App with v2.9.0 without reusing Documents and it is working fine.
Based on the suggestion from group (refer attached mail), I modified the code
to use v3.0.0 and in order to increase performance, I am reusing the Documents
and Fields objects as suggessted. I am facing problems with th