lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <>
Subject Re: Merge index will maintain index order
Date Mon, 20 Oct 2008 10:34:47 GMT

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 will only be chronologically ordered by doc ID only  
if the indexes you added were all ordered chronologically by docID,  
and after all docs in the original index.


Ganesh wrote:

> 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 will be overlapped?
> Regards
> Ganesh
> Send instant messages to your online friends
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message