From solr-user-return-99342-apmail-lucene-solr-user-archive=lucene.apache.org@lucene.apache.org Fri Apr 11 05:02:56 2014 Return-Path: X-Original-To: apmail-lucene-solr-user-archive@minotaur.apache.org Delivered-To: apmail-lucene-solr-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B29EC10FA4 for ; Fri, 11 Apr 2014 05:02:56 +0000 (UTC) Received: (qmail 66712 invoked by uid 500); 11 Apr 2014 05:02:52 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 66186 invoked by uid 500); 11 Apr 2014 05:02:50 -0000 Mailing-List: contact solr-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-user@lucene.apache.org Delivered-To: mailing list solr-user@lucene.apache.org Received: (qmail 66155 invoked by uid 99); 11 Apr 2014 05:02:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Apr 2014 05:02:47 +0000 X-ASF-Spam-Status: No, hits=2.3 required=5.0 tests=SPF_SOFTFAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: softfail (nike.apache.org: transitioning domain of harshrossi@gmail.com does not designate 216.139.236.26 as permitted sender) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Apr 2014 05:02:41 +0000 Received: from ben.nabble.com ([192.168.236.152]) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1WYTbX-0002wv-FI for solr-user@lucene.apache.org; Thu, 10 Apr 2014 22:02:19 -0700 Date: Thu, 10 Apr 2014 22:02:19 -0700 (PDT) From: harshrossi To: solr-user@lucene.apache.org Message-ID: <1397192539437-4130565.post@n3.nabble.com> Subject: DataImportHandler - Automatic scheduling of delta imports in Solr in windows 7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org I am using *DeltaImportHandler* for indexing data in Solr. Currently I am manually indexing the data into Solr by selecting commands full-import or delta-import from the Solr Admin screen. I am using Windows 7 and would like to automate the process by specifying a certain time interval for executing the commands through windows task scheduler or something. e.g.: like every two minutes it should index data into solr. >From few sites I came to know that I need to create a *batch file* with some command to run the imports and the batch file is run using *windows scheduler*. But there were no examples regarding this. I am not sure what to code in the batch file and how to link it with the scheduler. Can someone provide me the code and the steps to accomplish it? Thanks a lot in advance. -- View this message in context: http://lucene.472066.n3.nabble.com/DataImportHandler-Automatic-scheduling-of-delta-imports-in-Solr-in-windows-7-tp4130565.html Sent from the Solr - User mailing list archive at Nabble.com.