On 1/15/2013 9:20 AM, hassancrowdc wrote:
Hi,
once i have indexed data from multiple tables from mysql database into
solr, is there any way that it update data(automatically) if any change is
made to the data in mysql?

You need to write a program to do this.

Although this list can provide guidance, such programs are highly customized to the particulars for your setup. There is not really any general purpose solution here.

There are two typical approaches - have a program that initiates delta-imports with the dataimporter, or write a program that both talks to your database and uses a Solr client API to send updates to Solr. I used to use the former approach, now I use the latter. I still use the dataimporter for full reindexes, though.

Thanks,
Shawn

Reply via email to