Return-Path: Delivered-To: apmail-lucene-general-archive@www.apache.org Received: (qmail 26215 invoked from network); 29 Dec 2010 12:29:31 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 29 Dec 2010 12:29:31 -0000 Received: (qmail 14726 invoked by uid 500); 29 Dec 2010 12:29:30 -0000 Delivered-To: apmail-lucene-general-archive@lucene.apache.org Received: (qmail 14465 invoked by uid 500); 29 Dec 2010 12:29:28 -0000 Mailing-List: contact general-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: general@lucene.apache.org Delivered-To: mailing list general@lucene.apache.org Received: (qmail 14457 invoked by uid 99); 29 Dec 2010 12:29:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Dec 2010 12:29:27 +0000 X-ASF-Spam-Status: No, hits=4.2 required=10.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RFC_ABUSE_POST,SPF_NEUTRAL,T_TO_NO_BRKTS_FREEMAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: 216.139.236.26 is neither permitted nor denied by domain of nitishgarg1991@gmail.com) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Dec 2010 12:29:22 +0000 Received: from ben.nabble.com ([192.168.236.152]) by sam.nabble.com with esmtp (Exim 4.69) (envelope-from ) id 1PXv9J-0003FS-W6 for general@lucene.apache.org; Wed, 29 Dec 2010 04:29:01 -0800 Date: Wed, 29 Dec 2010 04:29:01 -0800 (PST) From: nitishgarg To: general@lucene.apache.org Message-ID: <1293625741955-2162575.post@n3.nabble.com> Subject: Custom Analyzer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I have written a custome analyzer for Marathi Language on the lines of French Analyzer present in Lucene tweaking the stemming part. For compilation I put the three classes MarathiAnalyzer, MarathiStemFilter and MarathiStemmer in the MarathiAnalyzer class only (otherwise I was receiving errors that the marathiStemmer class is unavailable in MarathiStemFilter, dunno why?). After compilation I regenerated the lucene-analyzers-2.9.1.jar file and put it in the lib folder. But when I edit my schema.xml to use MarathiAnlyzer by writing , and when I run the start.jar file Solr throws me classNotFoundException as: java.lang.ClassNotFoundException: org.apache.lucene.analysis.mr.MarathiAnalyzer I tried using the FrenchAnalyzer using the same method and I was successful in doing that, but unsuccessful when I do the same for MarathiAnalyzer. Can anybody tell where I am mistaking? -- View this message in context: http://lucene.472066.n3.nabble.com/Custom-Analyzer-tp2162575p2162575.html Sent from the Lucene - General mailing list archive at Nabble.com.