I am doing a full index daily (3,000,000 documents) without using
optimize, no problems at all, if that helps. Also note that you don't
need to delete all your documents, if delete your documents search
won't return any results until you have re-added the documents!
You should do a regular commit between inserts (I do one every 10,000)
otherwise you might get out-of-memory errors.
-Nick

On 6/20/07, Chris Hostetter <[EMAIL PROTECTED]> wrote:

: Works ok. But I've noticed that the faq recommends issuing <optimize />
: before reindexing. The problem is <optimize/> also seems to commit
: changes, so the index is empty until I reindex and the search can't be
: online.

please note what question that recomendation appears in...

   "How can I rebuild my index from scratch if I change my schema?"

If you are not changing your schema, then that answer does not apply to
you.  deleting documents and reading them (without optimizing fist) is
perfectly fine.

: Will sending <optimize /> after reindexing help?

if your index only changes in big batches then it's almost always
beneficial to do an optimize after your indexing.


-Hoss


Reply via email to