On Wed, Sep 17, 2008 at 8:12 PM, sunnyfr <[EMAIL PROTECTED]> wrote:

>
> According to the fact that a Collection is a Lucene collection is a
> directory of files. These comprise the indexed and returnable data of a
> Solr
> search repository.
>
> I just want to be sure because this page speak about :
>
> http://wiki.apache.org/solr/CollectionDistribution#head-9f393ae2a6230fe23e422f1583f31edbff7b1007
> replication.
>
> To synchronize master and slave and apply different job to check snapshot.
> But my question about update was essentially, between my database mysql and
> solr's indexes.
> I just want to know, if somebody add a book in my database, how can I be
> sure that will be update in my indexes and commit ?
>


I had assumed that you wanted to sync the index between a master and slaves.
Now I realize that your question was different.

Look at DataImportHandler and delta imports. You can run delta-imports
through a cron job syncing the database with Solr frequently depending on
the update frequency of the database.

http://wiki.apache.org/solr/DataImportHandler


>
> --
> View this message in context:
> http://www.nabble.com/cron-job-update-index-tp19520468p19533680.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>
>


-- 
Regards,
Shalin Shekhar Mangar.

Reply via email to