Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 99676 invoked from network); 23 Feb 2006 18:23:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 23 Feb 2006 18:23:19 -0000 Received: (qmail 35636 invoked by uid 500); 23 Feb 2006 18:23:12 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 35610 invoked by uid 500); 23 Feb 2006 18:23:12 -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 35599 invoked by uid 500); 23 Feb 2006 18:23:11 -0000 Delivered-To: apmail-jakarta-lucene-user@jakarta.apache.org Received: (qmail 35596 invoked by uid 99); 23 Feb 2006 18:23:11 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Feb 2006 10:23:11 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [147.83.41.105] (HELO mail.fib.upc.es) (147.83.41.105) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Feb 2006 10:23:11 -0800 Received: from [147.83.58.160] (tarragona.fib.upc.es [147.83.58.160]) by mail.fib.upc.es (Postfix) with ESMTP id 89C6E1BB1F for ; Thu, 23 Feb 2006 19:22:44 +0100 (CET) Message-ID: <43FDFD74.8000908@fib.upc.edu> Date: Thu, 23 Feb 2006 19:22:44 +0100 From: Daniel Cortes Organization: FIB User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: 'Lucene Users List' Subject: about Filttering Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scaned-FIB: AntiVirus/AntiSpam en fib.upc.es X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi luceners, I have a problem that I don't know what to do. I want to use ISOLatin1AccentFilter that I found In lucene trunks The code in my analyzer is: public final TokenStream tokenStream(String fieldName, Reader reader) { if (fieldName == null) throw new IllegalArgumentException("fieldName must not be null"); if (reader == null) throw new IllegalArgumentException("reader must not be null"); TokenStream result = new StandardTokenizer(reader); result = new ISOLatin1AccentFilter(result); //result = new ParaulesFilter(new LowerCaseFilter(result)); result = new StandardFilter(result); result = new StopFilter(new LetterTokenizer(reader), stoptable); return result; } Why reason It doesn't works? I try to put some sysouts in de code Code of ISOLatin1AccentFilter, and the only log that appears is in the constructor method, but never do next() method of ISOLatin1AccentFilter. I don't have idea to do. thks for any reply to rescue me :D. --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org