Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 15362 invoked from network); 11 Aug 2009 08:29:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 11 Aug 2009 08:29:17 -0000 Received: (qmail 75643 invoked by uid 500); 11 Aug 2009 08:29:22 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 75578 invoked by uid 500); 11 Aug 2009 08:29:22 -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 75568 invoked by uid 99); 11 Aug 2009 08:29:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Aug 2009 08:29:22 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of shichuanwuhan@gmail.com designates 209.85.222.186 as permitted sender) Received: from [209.85.222.186] (HELO mail-pz0-f186.google.com) (209.85.222.186) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Aug 2009 08:29:12 +0000 Received: by pzk16 with SMTP id 16so3369818pzk.20 for ; Tue, 11 Aug 2009 01:28:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=KKYrCIsoVuG/IjuA6v/5pTfmF4KQuxVpfwpItMAW0So=; b=EvjBojX4vfDDeeWCMYFuSFwuOaWRJ5q1TeXvwKPH2312lJtB+5SBFipkhJ/GpWKIiI qRnuGR/7IkAiVmxioO1EpoEyZARl0VHqX/Ny6RniNTxHHdW4fSLh+69sEo9zoImD2gh2 9/uJBnkf+nJGgixY0Am4uA57N+8mIG/orhFTE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=sijHhRxUtnF9vD+f03ZQOVEje9gOmi+ycbAXX8V2B5umWUqmqH86SKhV9f6GLR1zjb eeosL71wld4rEIYEWvgf35lsrHNmYmXlPOT+vO2nalrKT8ot9VrDuSCCm1/bJKlTPMuS 9f2IA6PhdYCkY+dzf8CZxVGL1WMxZwDcjM6Cs= MIME-Version: 1.0 Received: by 10.142.13.13 with SMTP id 13mr1141383wfm.119.1249979331439; Tue, 11 Aug 2009 01:28:51 -0700 (PDT) In-Reply-To: <11975c90908102147n2aa76f94s2cec04d882cf8fa@mail.gmail.com> References: <1c3e185f0908102044j3f30896bua95ba433460cfaa8@mail.gmail.com> <11975c90908102147n2aa76f94s2cec04d882cf8fa@mail.gmail.com> Date: Tue, 11 Aug 2009 16:28:51 +0800 Message-ID: <1c3e185f0908110128g1202b6a9g7a606c79d3a3ec4f@mail.gmail.com> Subject: Re: How to solve this problem From: Chuan SHI To: java-user@lucene.apache.org Content-Type: multipart/alternative; boundary=000e0cd5097a06ec770470d97ec6 X-Virus-Checked: Checked by ClamAV on apache.org --000e0cd5097a06ec770470d97ec6 Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: quoted-printable Although you have not worked with kaffe, your suggestion is right. Thank you. 2009/8/11 Alexander Aristov > I suspect that you might use incompatible versions of lucene and kaffe. > Though I have never worked with kaffe before and so might be wrong. > > Best Regards > Alexander Aristov > > > 2009/8/11 =CA=AF=B4=A8 > > > Hi, > > I am a newbie in lucene and am trying the 'indexing and searching' > > demo of lucene 1.4.3 using kaffe 1.0.6. After inputing the query, an > error > > occurs as follows: > > > > Query: stringSearching for: string > > java.lang.NoSuchMethodError: > > > > > org/apache/lucene/search/Searcher.search(Lorg/apache/lucene/search/Query;= Lorg/apache/lucene/search/Filter;I)Lorg/apache/ > > at org.apache.lucene.search.Hits.getMoreDocs(Hits.java:64) > > at org.apache.lucene.search.Hits.(Hits.java:43) > > at org.apache.lucene.search.Searcher.search(Searcher.java:33) > > at org.apache.lucene.search.Searcher.search(Searcher.java:27) > > at org.apache.lucene.demo.SearchFiles.main(SearchFiles.java:49) > > > > However, when I use kaffe 1.1.0, it works well. I google for the > > error information and it is said there is something wrong with my jar > > package. Could anybody give some suggestion? Thanks. > > > > -- > > Best regards, > > > > Shi Chuan > > > --=20 Best regards, Chuan SHI --000e0cd5097a06ec770470d97ec6--