RE: Merging "orphaned" segments into a composite index

2006-09-16 Thread Rob Staveley (Tom)
Thanks for the advice, Andrzej, including using BeanShell for this. SegmentInfos and CompoundFileReader here I come. -Original Message- From: Andrzej Bialecki [mailto:[EMAIL PROTECTED] Sent: 16 September 2006 14:09 To: java-user@lucene.apache.org Subject: Re: Merging "orphaned"

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)
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 IndexReader.open(...) always o