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 <a_re...@hotmail.com> 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: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org