Re: Document Order in IndexWriter.addIndexes

2010-06-30 Thread Andrzej Bialecki
On 2010-06-30 22:16, Apoorv Sharma wrote: > This implies there is no way to merge two parallel indexes(based on parallel > reader) to get a new parallel index. Correct me if I am wrong. Do you mean sequentially, using IW.addIndexes(new IndexReader[]{index1,index2}), so that the fields from documen

Re: Document Order in IndexWriter.addIndexes

2010-06-30 Thread Apoorv Sharma
This implies there is no way to merge two parallel indexes(based on parallel reader) to get a new parallel index. Correct me if I am wrong. On Tue, Jun 29, 2010 at 11:24 PM, Andrzej Bialecki wrote: > On 2010-06-30 05:12, Apoorv Sharma wrote: > > while calling addindexes or addindexes with no opt

Re: Document Order in IndexWriter.addIndexes

2010-06-29 Thread Andrzej Bialecki
On 2010-06-30 05:12, Apoorv Sharma wrote: > while calling addindexes or addindexes with no optimize can any gurantee be > given about the document order in the new documents given that the order of > directories/indexreader is fixed. > > So is it that ith document coming from jth indexreader will

Document Order in IndexWriter.addIndexes

2010-06-29 Thread Apoorv Sharma
while calling addindexes or addindexes with no optimize can any gurantee be given about the document order in the new documents given that the order of directories/indexreader is fixed. So is it that ith document coming from jth indexreader will always have some x(i,j) position in the final merged