We do optimize once a day at 1am.

Ching-hsien Wang,  Manager
Library and Archives System Support Branch
Office of Chief Information Officer
Smithsonian Institution
202-633-5581(office)  202-312-2874(fax)
wan...@si.edu
Visit us online: www.siris.si.edu

-----Original Message-----
From: Eric Sabourin [mailto:eric.sabourin2...@gmail.com] 
Sent: Thursday, May 07, 2009 10:52 AM
To: solr-user@lucene.apache.org
Subject: Re: When should I <optimize/>

Great... thanks for the response!

2009/5/7 Noble Paul നോബിള്‍ नोब्ळ् <noble.p...@corp.aol.com>

> 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
>



-- 
Eric
Sent from Halifax, NS, Canada

Reply via email to