Re: scheduling imports and heartbeats
Thanks for the tip Ken. I tried that but don't see the importing happening when I check up on the status. Below is what's in my dataimport.properties. #Wed Nov 10 11:36:28 PST 2010 metadataObject.last_index_time=2010-09-20 11\:12\:47 interval=1 port=8080 server=localhost params=/select?qt\=/dataimport&command\=full-import&clean\=true&commit\=true webapp=solr id.last_index_time=2010-11-10 11\:36\:27 syncEnabled=1 last_index_time=2010-11-10 11\:36\:27 From: Ken Stanley To: solr-user@lucene.apache.org Sent: Wed, November 10, 2010 4:41:17 AM Subject: Re: scheduling imports and heartbeats On Tue, Nov 9, 2010 at 10:16 PM, Tri Nguyen wrote: > Hi, > > Can I configure solr to schedule imports at a specified time (say once a day, > once an hour, etc)? > > Also, does solr have some sort of heartbeat mechanism? > > Thanks, > > Tri Tri, If you use the DataImportHandler (DIH), you can set up a dataimport.properties file that can be configured to import on intervals. http://wiki.apache.org/solr/DataImportHandler#dataimport.properties_example As for "heartbeat", you can use the ping handler (default is /admin/ping) to check the status of the servlet. - Ken
Re: scheduling imports and heartbeats
: References: <4cd8fb5a.9040...@srce.hr> <001701cb7fe2$58abc660$0a0353...@com> : : <4cd962b0.2090...@srce.hr> : : <4cd9ae1e.8080...@srce.hr> : : Subject: scheduling imports and heartbeats : In-Reply-To: http://people.apache.org/~hossman/#threadhijack Thread Hijacking on Mailing Lists When starting a new discussion on a mailing list, please do not reply to an existing message, instead start a fresh email. Even if you change the subject line of your email, other mail headers still track which thread you replied to and your question is "hidden" in that thread and gets less attention. It makes following discussions in the mailing list archives particularly difficult. See Also: http://en.wikipedia.org/wiki/User:DonDiego/Thread_hijacking -Hoss
Re: scheduling imports and heartbeats
i'm looking for another solution other than cron job. can i configure solr to schedule imports? From: Ranveer Kumar To: solr-user@lucene.apache.org Sent: Tue, November 9, 2010 8:13:03 PM Subject: Re: scheduling imports and heartbeats You should use cron for that.. On 10 Nov 2010 08:47, "Tri Nguyen" wrote: Hi, Can I configure solr to schedule imports at a specified time (say once a day, once an hour, etc)? Also, does solr have some sort of heartbeat mechanism? Thanks, Tri
Re: scheduling imports and heartbeats
On Tue, Nov 9, 2010 at 10:16 PM, Tri Nguyen wrote: > Hi, > > Can I configure solr to schedule imports at a specified time (say once a day, > once an hour, etc)? > > Also, does solr have some sort of heartbeat mechanism? > > Thanks, > > Tri Tri, If you use the DataImportHandler (DIH), you can set up a dataimport.properties file that can be configured to import on intervals. http://wiki.apache.org/solr/DataImportHandler#dataimport.properties_example As for "heartbeat", you can use the ping handler (default is /admin/ping) to check the status of the servlet. - Ken
Re: scheduling imports and heartbeats
You should use cron for that.. On 10 Nov 2010 08:47, "Tri Nguyen" wrote: Hi, Can I configure solr to schedule imports at a specified time (say once a day, once an hour, etc)? Also, does solr have some sort of heartbeat mechanism? Thanks, Tri
scheduling imports and heartbeats
Hi, Can I configure solr to schedule imports at a specified time (say once a day, once an hour, etc)? Also, does solr have some sort of heartbeat mechanism? Thanks, Tri