RE: Merging "orphaned" segments into a composite index

2006-09-16 Thread Rob Staveley (Tom)
; segments into a composite index Rob Staveley (Tom) wrote: > It looks like my segments file only contains information for the .cfs > segments. So this approach doesn't work. I was wondering if I could > use > IndexWriter.addIndexes(IndexReader[]) instead. Can I open

Re: Merging "orphaned" segments into a composite index

2006-09-16 Thread Andrzej Bialecki
Rob Staveley (Tom) wrote: It looks like my segments file only contains information for the .cfs segments. So this approach doesn't work. I was wondering if I could use IndexWriter.addIndexes(IndexReader[]) instead. Can I open an IndexReader without a corresponding segments file? In notice that In

RE: Merging "orphaned" segments into a composite index

2006-09-16 Thread Rob Staveley (Tom)
300G each and regenerating them is something I'd like to avoid. -Original Message- From: Rob Staveley (Tom) [mailto:[EMAIL PROTECTED] Sent: 15 September 2006 18:18 To: java-user@lucene.apache.org Subject: Merging "orphaned" segments into a composite index I have had some b

Merging "orphaned" segments into a composite index

2006-09-15 Thread Rob Staveley (Tom)
I have had some badly behaved Lucene indexing software crash on me several times and have been left with an index directory with lots of non-composite files in, when all I ought to be getting is the compound files .cfs files plus deletable and segments. Re-indexing everything doesn't bear think