You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Olala <ht...@gmail.com> on 2009/12/12 07:38:12 UTC

Auto update with deltaimport

Hi All!

I am developing a search engine using Solr, I was tested full-import and
delta-import command successfully.But now,I want to run delta-import
automatically with my schedule.So, can anyone help me???

Thanks & Regards,
-- 
View this message in context: http://old.nabble.com/Auto-update-with-deltaimport-tp26755386p26755386.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Auto update with deltaimport

Posted by Olala <ht...@gmail.com>.
Hi, thanks! I've done it by wrote a scripts to call
http://localhost:8080/solr/dataimport?command=delta-import automatically:-)


Joel Nylund wrote:
> 
> windows or unix?
> 
> unix - make a shell script and call it from cron
> 
> windows - make a .bat or .cmd file and call it from scheduler
> 
> within the shell scripts/bat files use wget or curl to call the right  
> import:
> 
> wget -q -O /dev/null
> http://localhost:8983/solr/dataimport?command=delta-import
> 
> 
> Joel
> 
> On Dec 12, 2009, at 1:38 AM, Olala wrote:
> 
>>
>> Hi All!
>>
>> I am developing a search engine using Solr, I was tested full-import  
>> and
>> delta-import command successfully.But now,I want to run delta-import
>> automatically with my schedule.So, can anyone help me???
>>
>> Thanks & Regards,
>> -- 
>> View this message in context:
>> http://old.nabble.com/Auto-update-with-deltaimport-tp26755386p26755386.html
>> Sent from the Solr - User mailing list archive at Nabble.com.
>>
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/Auto-update-with-deltaimport-tp26755386p26792041.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Auto update with deltaimport

Posted by Joel Nylund <jn...@yahoo.com>.
windows or unix?

unix - make a shell script and call it from cron

windows - make a .bat or .cmd file and call it from scheduler

within the shell scripts/bat files use wget or curl to call the right  
import:

wget -q -O /dev/null http://localhost:8983/solr/dataimport?command=delta-import


Joel

On Dec 12, 2009, at 1:38 AM, Olala wrote:

>
> Hi All!
>
> I am developing a search engine using Solr, I was tested full-import  
> and
> delta-import command successfully.But now,I want to run delta-import
> automatically with my schedule.So, can anyone help me???
>
> Thanks & Regards,
> -- 
> View this message in context: http://old.nabble.com/Auto-update-with-deltaimport-tp26755386p26755386.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>