Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 12643 invoked from network); 28 Jul 2006 21:20:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 28 Jul 2006 21:20:07 -0000 Received: (qmail 78521 invoked by uid 500); 28 Jul 2006 21:19:53 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 78485 invoked by uid 500); 28 Jul 2006 21:19:53 -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 78462 invoked by uid 99); 28 Jul 2006 21:19:53 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Jul 2006 14:19:53 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [217.146.188.126] (HELO web86501.mail.ird.yahoo.com) (217.146.188.126) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 28 Jul 2006 14:19:52 -0700 Received: (qmail 73059 invoked by uid 60001); 28 Jul 2006 21:19:27 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=btinternet.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=TUeVH/26z+obdt30LBfkROp63POCATbe/yioDIvFnw/wgzdC9/a6VmZQ9T82gU/RQ96bo3ZZHII/A131d/jY0cgpGYgdgjgpsyab26PhtztTQMmQ6VUQ0aV2cIpwlIE1Pbu4r65r5/3dyldASkq1kZ//4lpApa2uho6ez6Lmq9o= ; Message-ID: <20060728211927.73057.qmail@web86501.mail.ird.yahoo.com> Received: from [81.158.170.45] by web86501.mail.ird.yahoo.com via HTTP; Fri, 28 Jul 2006 22:19:27 BST Date: Fri, 28 Jul 2006 22:19:27 +0100 (BST) From: SEAN MCELROY Subject: Re: luceneweb example returning null hrefs To: java-user@lucene.apache.org In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1084822921-1154121567=:72205" Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N --0-1084822921-1154121567=:72205 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Thank you. The example application is now working as expected. Sean Chen Wu wrote: Hi, Please change the "url" to "path" in the result JSP file. coz the field name that is indexed is called "path" rather than "url". Cheers, Chen >>> sean.mcelroy@btinternet.com 7/28/2006 5:49 PM >>> Hello, I am trying to use the luceneweb application that is shipped with the lucene installation. I have followed the installation instructions and the luceneweb application has been successfully deployed using Tomcat 5.5.9. However all the results returned point to http://localhost:8080/luceneweb/null. The version of lucene I am using is 2.0.0, I have had to change the following code in results.jsp to get the example to work Original code //query = QueryParser.parse(queryString, "contents", analyzer); //parse the //Replaced code - found this on the net QueryParser qp = new QueryParser("contents", analyzer); query = qp.parse(queryString); Can anyone shed some light on this problem? Thanks. --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org --0-1084822921-1154121567=:72205--