On Thursday 12 May 2005 20:17, Doug Cutting wrote: > Â> Would folks find this useful? > > Since the general feedback was positive, I committed this.
It seems the IllegalArgumentException is never thrown, because the "readers" variable is never modified? Unless I'm missing something, this code should throw an exception if the indexes have different sizes: IndexReader ir1 = IndexReader.open("/tmp/testindex1"); IndexReader ir2 = IndexReader.open("/tmp/testindex2"); ParallelReader pr = new ParallelReader(); pr.add(ir1); pr.add(ir2); Regards Daniel -- http://www.danielnaber.de --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]