Solr autocommit and autooptimize?

Posted by Camran on Stack Overflow See other posts from Stack Overflow or by Camran
Published on 2010-05-07T09:44:24Z Indexed on 2010/05/07 9:48 UTC
Read the original article Hit count: 189

Filed under:
|
|
|
|

I will be uploading my website to a VPS soon. It is a classifieds website which uses Solr integrated with MySql.

Solr is updated whenever a new classified is put or deleted.

I need a way to make the commit() and optimize() be automated, for example once every 3 hours or so.

How can I do this? (Details Please) When is it ideal to optimize?

Thanks

© Stack Overflow or respective owner

Related posts about php

Related posts about database