You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by karl wettin <ka...@gmail.com> on 2007/02/07 14:41:39 UTC

Merging indices

I'm looking for what might be the best solution to allow merging of  
indices with my InstantiatedIndex. The idea is to get it working with  
the standard segment files for persistency.

I was thinking about running an FSDirectory parallel to the  
InstantiatedIndex, making sure that all changes is also done to a  
FSDirectory. Another solution would be to introduce Directory.copy 
(IndexReader) [read: Index.copy(IndexReader)] rather than  
Directory.copy(Directory), i.e. to dump snapshots of the index in  
heap to a new FSDirectory. None of these chooises sounds that  
compelling to me. Any suggestions to alternate solutions or comments  
on the one I listed would be welcome.

-- 
karl

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org