Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 12501 invoked from network); 28 Jul 2006 21:19:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 28 Jul 2006 21:19:29 -0000 Received: (qmail 75806 invoked by uid 500); 28 Jul 2006 21:19:24 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 75775 invoked by uid 500); 28 Jul 2006 21:19:23 -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 75764 invoked by uid 99); 28 Jul 2006 21:19:23 -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:23 -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.127] (HELO web86502.mail.ird.yahoo.com) (217.146.188.127) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 28 Jul 2006 14:19:20 -0700 Received: (qmail 7125 invoked by uid 60001); 28 Jul 2006 21:18:49 -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=45kuIJZz8MyP0cZcVgXbn5WKXdvwB+KKs5aZ0TleIdaUpfo2KcIPgrRrA82yi+VPyImVjH1kSgaGZYZql51wGtScXmix66fWLLKfofdR+d1BbpnRUMLsUeHDIkcy7lle39lg2m2VSDDcZodexFy0Cchu2NpE+eGjW5uh+qlqrp0= ; Message-ID: <20060728211849.7123.qmail@web86502.mail.ird.yahoo.com> Received: from [81.158.170.45] by web86502.mail.ird.yahoo.com via HTTP; Fri, 28 Jul 2006 22:18:49 BST Date: Fri, 28 Jul 2006 22:18:49 +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-511744256-1154121529=:76983" 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-511744256-1154121529=:76983 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-511744256-1154121529=:76983--