Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 47105 invoked from network); 26 May 2006 14:57:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 26 May 2006 14:57:37 -0000 Received: (qmail 19554 invoked by uid 500); 26 May 2006 14:57:30 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 19516 invoked by uid 500); 26 May 2006 14:57:30 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 19505 invoked by uid 99); 26 May 2006 14:57:30 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 May 2006 07:57:30 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [69.44.16.11] (HELO getopt.org) (69.44.16.11) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 May 2006 07:57:28 -0700 Received: from [192.168.0.252] (75-mo3-2.acn.waw.pl [62.121.105.75]) (authenticated) by getopt.org (8.11.6/8.11.6) with ESMTP id k4QEv5208911; Fri, 26 May 2006 09:57:06 -0500 Message-ID: <4477175A.20101@getopt.org> Date: Fri, 26 May 2006 16:57:30 +0200 From: Andrzej Bialecki User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: Dennis Kubes CC: java-user@lucene.apache.org Subject: Re: Run-Time Error References: <20060526123115.331FC187A9@mail.seseit.com> In-Reply-To: <20060526123115.331FC187A9@mail.seseit.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Dennis Kubes wrote: > The server is headless (i.e. no X-Windows). I've tried lucli, but that > doesn't have Luke's whistles and bells. Does Luke have a non-GUI equivalent, > Grant? > You can tunnel your X session through ssh. If that's not possible, AND you are familiar with Lucene API, then you can use BeanShell - just put the bsh*.jar in lib/, and then do: # bin/nutch bsh.Interpreter BeanShell 2.0b4 - by Pat Niemeyer (pat@pat.net) bsh % import org.apache.lucene.index.*; bsh % import org.apache.lucene.document.*; bsh % ir = IndexReader.open("indexes/part-00001"); bsh % print(ir.numDocs()); 1524567 bsh % Have fun! -- Best regards, Andrzej Bialecki <>< ___. ___ ___ ___ _ _ __________________________________ [__ || __|__/|__||\/| Information Retrieval, Semantic Web ___|||__|| \| || | Embedded Unix, System Integration http://www.sigram.com Contact: info at sigram dot com --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org