Reindex every midnight
0 0 * * * wget http://your-solr-host:port
/path/to/solr-core/dataimport?command=full-import

You can use you favorite http client instead of wget.

Cheers
Avlesh

On Thu, Jun 25, 2009 at 9:15 AM, Jack Wu <wul...@gmail.com> wrote:

> Is there a way I can do a full import or build the index via a script?  I
> want to cron job it rather than have to manually hit the dataimport.jsp
> page
> and click on 'full import' on the control panel every time.
>
> I am using SOLR on PHP, and am using the PHP-SOLR client.
>

Reply via email to