From lucene-dev-return-336-qmlist-jakarta-archive-lucene-dev=jakarta.apache.org@jakarta.apache.org Wed Nov 07 20:41:23 2001 Return-Path: Delivered-To: apmail-jakarta-lucene-dev-archive@apache.org Received: (qmail 3723 invoked from network); 7 Nov 2001 20:41:23 -0000 Received: from unknown (HELO osaka.betaversion.org) (192.18.49.133) by daedalus.apache.org with SMTP; 7 Nov 2001 20:41:23 -0000 Received: (qmail 23833 invoked from network); 7 Nov 2001 20:43:55 -0000 Received: from nagoya.betaversion.org (192.18.49.131) by osaka.betaversion.org with SMTP; 7 Nov 2001 20:43:55 -0000 Received: (qmail 17142 invoked by uid 97); 7 Nov 2001 20:41:26 -0000 Delivered-To: qmlist-jakarta-archive-lucene-dev@jakarta.apache.org Received: (qmail 17073 invoked by uid 97); 7 Nov 2001 20:41:24 -0000 Mailing-List: contact lucene-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Lucene Developers List" Reply-To: "Lucene Developers List" Delivered-To: mailing list lucene-dev@jakarta.apache.org Received: (qmail 17061 invoked from network); 7 Nov 2001 20:41:24 -0000 From: "Jaume Homs" To: Subject: I'm new in lucene and I have some questions.... Date: Thu, 8 Nov 2001 21:40:58 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Importance: Normal X-MDRemoteIP: 212.0.126.66 X-Return-Path: jaume.homs@lostboys.es X-MDaemon-Deliver-To: lucene-dev@jakarta.apache.org X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi! I've downlaoad lucene and after some work, compile it. Now I want to try it. The search.html call a search.jhtml that my servlet engine doesn't understand. I've modified the search.jhtml and now I have a search.jsp but I get this: Method getReader(java.lang.String) not found in jsp._Search__jsp. new IndexSearcher(getReader(indexName)); Then I found this source code: public class lucena { public static void main() { try{ String indexPath = "c:\\lucena", queryString = "la"; System.out.println("1"); Searcher searcher = new IndexSearcher("c:\\"); System.out.println("2"); Query query = QueryParser.parse(queryString, "body",new SimpleAnalyzer()); System.out.println("3"); Hits hits = searcher.search(query); System.out.println("4"); for (int i=0; i For additional commands, e-mail: