Re: Merge index will maintain index order

2008-10-20 Thread Erick Erickson
Let's claim you have build indexes in this order (by date). index1 index2 index3 Now if you addindexes clause has them ordered the same way, then, in the merged index, the first docID from index 2 will be greater than the last doc id from index1 in the merged index. The first doc id from index 3 w

Re: Merge index will maintain index order

2008-10-20 Thread mahdi yari
i can not understand about last sentence "So the final index will only ..." can you write more about this, because i have same question... thanks On Mon, Oct 20, 2008 at 2:04 PM, Michael McCandless < [EMAIL PROTECTED]> wrote: > > By merge you mean using addIndexes*, right? > > Those methods logic

Re: Merge index will maintain index order

2008-10-20 Thread Michael McCandless
By merge you mean using addIndexes*, right? Those methods logically concatenate the indices in order by doc ID. So the original docs in your index will keep all their docIDs, and the newly added indices are assigned docIDs after that, in the order they were added. So the final index wil

Merge index will maintain index order

2008-10-20 Thread Ganesh
Hello all, I am planning to merge two or more indexes. Once merged, will the DB maintain the same index order as before merge? I am doing sorting on Index Order as sorting on date-time takes more amount of RAM. If i merge the index DB, will the same index order be maintained or the indexes wil