Re: managing docids for ParallelReader

2005-06-04 Thread Sebastian Marius Kirsch
Dear Doug, thanks for your message. On Fri, Jun 03, 2005 at 09:37:01AM -0700, Doug Cutting wrote: > Sebastian Marius Kirsch wrote: > >I took up your suggestion to use a ParallelReader for adding more > >fields to existing documents. I now have two indexes with the same > >number of documents, but

Re: managing docids for ParallelReader

2005-06-03 Thread Doug Cutting
Sebastian Marius Kirsch wrote: I took up your suggestion to use a ParallelReader for adding more fields to existing documents. I now have two indexes with the same number of documents, but different fields. Does search work using the ParalleReader? One field is duplicated (the id field.) Wh

Re: managing docids for ParallelReader

2005-06-03 Thread Sebastian Marius Kirsch
Hi Doug, I took up your suggestion to use a ParallelReader for adding more fields to existing documents. I now have two indexes with the same number of documents, but different fields. One field is duplicated (the id field.) I wrote a small class to merge those two indexes into one index; it is a

Re: managing docids for ParallelReader (was Augmenting an existing index)

2005-06-03 Thread Markus Wiederkehr
On 5/31/05, Doug Cutting <[EMAIL PROTECTED]> wrote: > > I have wondered about this as well. Are there any *sure fire* ways of > > creating (and updating) two indices so that doc numbers in one index > > deliberately correspond to doc numbers in the other index? > > If you add the documents in the

Re: managing docids for ParallelReader (was Augmenting an existing index)

2005-05-31 Thread Markus Wiederkehr
On 5/31/05, Doug Cutting <[EMAIL PROTECTED]> wrote: > Matt Quail wrote: > > I have wondered about this as well. Are there any *sure fire* ways of > > creating (and updating) two indices so that doc numbers in one index > > deliberately correspond to doc numbers in the other index? > > If you add t

Re: managing docids for ParallelReader (was Augmenting an existing index)

2005-05-31 Thread Doug Cutting
Matt Quail wrote: I have a similar problem, for which ParallelReader looks like a good solution -- except for the problem of creating a set of indices with matching document numbers. I have wondered about this as well. Are there any *sure fire* ways of creating (and updating) two indices so

managing docids for ParallelReader (was Augmenting an existing index)

2005-05-30 Thread Matt Quail
I have a similar problem, for which ParallelReader looks like a good solution -- except for the problem of creating a set of indices with matching document numbers. I have wondered about this as well. Are there any *sure fire* ways of creating (and updating) two indices so that doc numbers in