lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <luc...@mikemccandless.com>
Subject Re: Merge policy!
Date Thu, 02 May 2013 10:57:06 GMT
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_rexha@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-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message