[hibernate-dev] Forcing an optimize call after a purgeAll

Sanne Grinovero sanne.grinovero at gmail.com
Mon Jul 14 03:12:54 EDT 2008


I agree with all of you, if the user wants it he can just call it
using a single line of code.
So I would not do that automatically.

Sanne

2008/7/14 Hardy Ferentschik <hibernate at ferentschik.de>:
> On Sun, 13 Jul 2008 21:46:05 +0200, John Griffin <jgriffin at thebluezone.net>
> wrote:
>
>> I would not force it, but I would allow it to happen probably by a config
>> option. As you know optimize causes a rewrite of the Lucene document
>> numbers
>> and the user may not want to do that until THEY decide to do it. My 2
>> cents.
>
> I also opt no. Both API calls are there. Let the user control it.
>
> --Hardy
>
>
> _______________________________________________
> hibernate-dev mailing list
> hibernate-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hibernate-dev
>



More information about the hibernate-dev mailing list