Hi Mike, Thank you for fast reply. You are right! I was using using on one side the TieredMergePolicy and on the other hand the superclass MergePolicy thinking that the "setUseCompoundFile(boolean)" was a method of the MergePolicy class.
Sorry for this email and thanks again! > From: [email protected] > Date: Thu, 2 May 2013 06:57:06 -0400 > Subject: Re: Merge policy! > To: [email protected] > > I don't think those APIs changed from 4.1 to 4.2.1? > > Can you give more details? Eg, which merge policy you are using? > > Mike McCandless > > http://blog.mikemccandless.com > > > On Thu, May 2, 2013 at 6:53 AM, andi rexha <[email protected]> wrote: > > Hi, > > I want to create a simulation of the old "optimize" for an index. I can do > > it for 4.1 api, because I can use the method "setUseCompoundFile(true)" > > for the merge policy and call indexWriter.forceMerge(1); > > > > But I dont find a way to do it for the 4.2.1 api. Do you have any > > suggestion on how to achieve that? > > > > Thank you in advance! > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] >
