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

Hardy Ferentschik hibernate at ferentschik.de
Mon Jul 14 01:40:09 EDT 2008


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





More information about the hibernate-dev mailing list