Re: bad index by batch indexing

2008-08-06 Thread yanyanzeng
hi, thank you very much for your reply. I am using the latest version, lucene 2.3.2. I will try using two arguments and post my result later. yanyan Anshum-2 wrote: > > This really seems like an issue the batching mechanism (one of those > errors > which seem trivial on discovery :) ). I

Re: bad index by batch indexing

2008-08-06 Thread Mark Miller
Only one Writer should be active on an index at any given time. You don't want to batch unless you need to see the docs in the index as you build it. - it's slower overall. You can add from multiple threads at the same time, but use the same Writer. Sent from my iPhone On Aug 6, 2008, at 8

Re: bad index by batch indexing

2008-08-06 Thread Anshum
This really seems like an issue the batching mechanism (one of those errors which seem trivial on discovery :) ). I work with batched indexing and it works absolutely fine on data that is a lot higher in magnitude. You could try calling the indexwriter without the 3rd argument and see if it helps.