Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 11104 invoked from network); 12 Jun 2006 17:20:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 12 Jun 2006 17:20:21 -0000 Received: (qmail 78034 invoked by uid 500); 12 Jun 2006 17:20:16 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 78004 invoked by uid 500); 12 Jun 2006 17:20:15 -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 77993 invoked by uid 99); 12 Jun 2006 17:20:15 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Jun 2006 10:20:15 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [192.35.35.7] (HELO mailgw3a.lmco.com) (192.35.35.7) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Jun 2006 10:20:13 -0700 Received: from emss04g01.ems.lmco.com (relay4.ems.lmco.com [166.17.13.122])by mailgw3a.lmco.com (LM-6) with ESMTP id k5CHJqOW006505for ; Mon, 12 Jun 2006 13:19:52 -0400 (EDT) Received: from CONVERSION-DAEMON.lmco.com by lmco.com (PMDF V6.1-1X6 #30884) id <0J0R00901C54IA@lmco.com> for java-user@lucene.apache.org; Mon, 12 Jun 2006 13:19:52 -0400 (EDT) Received: from EMSS10M01.us.lmco.com ([158.187.0.150]) by lmco.com (PMDF V6.1-1X6 #30884) with ESMTP id <0J0R0061DC5488@lmco.com> for java-user@lucene.apache.org; Mon, 12 Jun 2006 13:19:52 -0400 (EDT) Received: from EMSS10M03.us.lmco.com ([158.187.0.148]) by EMSS10M01.us.lmco.com with Microsoft SMTPSVC(5.0.2195.6713); Mon, 12 Jun 2006 13:19:52 -0400 Date: Mon, 12 Jun 2006 13:19:51 -0400 From: "Mordo, Aviran (EXP N-NANNATEK)" Subject: RE: How can I tell Lucene to also use analyzer for Keyword fields To: java-user@lucene.apache.org Message-id: <92A278501EF50444AD3EE1FFB51219550BCE3B64@emss10m03.us.lmco.com> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft Exchange V6.0.6603.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Thread-Topic: How can I tell Lucene to also use analyzer for Keyword fields Thread-Index: AcaOOmRh7IzmIvbDS6uQUcz8kInYWgAAKlCwAAJAGnA= content-class: urn:content-classes:message X-MS-Has-Attach: X-MS-TNEF-Correlator: X-OriginalArrivalTime: 12 Jun 2006 17:19:52.0270 (UTC) FILETIME=[6A859EE0:01C68E44] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N What you are asking is not possible. The whole purpose of the analyzer is to tokenize the fields, so if you want them to be tokenized don't use the Keyword fields. If you want to use both tokenized and untokenized just create another filed that will be tokenized. Aviran http://www.aviransplace.com -----Original Message----- From: Ramana Jelda [mailto:ramana.jelda@ciao-group.com] Sent: Monday, June 12, 2006 12:18 PM To: java-user@lucene.apache.org Subject: How can I tell Lucene to also use analyzer for Keyword fields Hi, It seems anaylzers are never get called for UnTokenized fields(Seems no luck either using PerFieldAnalyzer). What should I do, If I would like to use analyzer for Untokenized fields. Lets say for Keyword or Unstored fields. I basically would like to use lucene Sort functionality on UnTokenized fields which needs some analyzation at indexing time. Thanks in advance, Regards, Jelda --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org