it is wise to optimize the index once in a while (daily may be). But it depends on how many commits you do in a day. Every commit causes fragmentation of index files and your search can become slow if you do not optimize it.
But optimizing always is not recommended because it is time consuming and your replication (if it is a master slave setup) can take longer . if you do a delete all then do an optimize anyway On Wed, May 6, 2009 at 9:18 PM, Eric Sabourin <eric.sabourin2...@gmail.com> wrote: > Is the optimize xml command something which is only required when I delete > all the docs? > Or should I also send the optimize command following other operations? or > daily? > > Thanks... > Eric > -- ----------------------------------------------------- Noble Paul | Principal Engineer| AOL | http://aol.com