Return-Path: Delivered-To: apmail-lucene-solr-user-archive@locus.apache.org Received: (qmail 39556 invoked from network); 5 Nov 2008 18:52:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Nov 2008 18:52:16 -0000 Received: (qmail 39910 invoked by uid 500); 5 Nov 2008 18:52:18 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 39875 invoked by uid 500); 5 Nov 2008 18:52:18 -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 39864 invoked by uid 99); 5 Nov 2008 18:52:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Nov 2008 10:52:18 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=SPF_PASS,URIBL_BLACK X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ryantxu@gmail.com designates 74.125.44.29 as permitted sender) Received: from [74.125.44.29] (HELO yx-out-2324.google.com) (74.125.44.29) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Nov 2008 18:50:59 +0000 Received: by yx-out-2324.google.com with SMTP id 3so82388yxj.5 for ; Wed, 05 Nov 2008 10:51:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer; bh=IVuVI25zTL/Az1S67rjeOcVCBPnfNNG9+foHCkbW+94=; b=KbUgO7V+V71uefCzEN/jvHx1F/P5aaFne2JLey38doCE82Q2hen1++YMUNEc8z9WWC +8g3M6GNGTaKfzz+iB0vvmMWRvb4zmomRMDpmRxWbep0RRT15IZJPqqE7kQpoLoerx6i kH1gBNe/ewnSPmq8CI3b8aQPZLBNOMEfXMjBw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=cEsYAmz5beJW05h+xw1vX8Vvhe8HP6vYauGI7+Zfr4s25Sfpk3bmIClRhvjGDBQm8T 4yjQWu+BYIErLRsek2JsMjr5UPVRvvI7ZHRAWB82XdAiMw5WuMPN3RXFn2Q8FhIAN+fg KkfGLwVvxaH87h+jDQqU7KFxuVMNoO4E5E7Js= Received: by 10.65.133.5 with SMTP id k5mr1098076qbn.53.1225911100081; Wed, 05 Nov 2008 10:51:40 -0800 (PST) Received: from ?192.168.1.2? ([66.92.161.165]) by mx.google.com with ESMTPS id s30sm443864qbs.8.2008.11.05.10.51.38 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 05 Nov 2008 10:51:38 -0800 (PST) Message-Id: From: Ryan McKinley To: solr-user@lucene.apache.org In-Reply-To: <953981.64564.qm@web90605.mail.mud.yahoo.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v929.2) Subject: Re: Redirecting output of post.jar and start.jar Date: Wed, 5 Nov 2008 13:51:36 -0500 References: <953981.64564.qm@web90605.mail.mud.yahoo.com> X-Mailer: Apple Mail (2.929.2) X-Virus-Checked: Checked by ClamAV on apache.org On Nov 5, 2008, at 7:30 AM, Muhammed Sameer wrote: > Salaam, > > When I run post.jar or start.jar its throws a lot of information on > the screen, I even tried redirecting the info but that does not seem > to help, I have configured a cron to run post.jar to run every 2mins > to keep the index updated, and each time this runs it throws a lot > of stuff on the console. > > Q1) What can I do so that the start.jar and post.jar do not send > output to stdout > I assume you are using the example configs shipped with solr... You can modify the jetty configs (/example/etc/jetty.xml) to send output to a file rather then stdout. Check: http://docs.codehaus.org/display/JETTY/StdErrStdOut > Q2) Is running post.jar every 2 mins a correct way of keeping the > indexes updated, or is there a more sane way. > Depends.... how often does your data change? do you know what changed? There are lots of options for how to get data into solr. post.sh and post.jar are just simple examples -- they may not be approprate when things get more complex. Have you checked: * solrj - http://wiki.apache.org/solr/Solrj * csv -- http://wiki.apache.org/solr/UpdateCSV * DataInportHandler -- http://wiki.apache.org/solr/DataImportHandler ryan