Thanks for your replies.
> -----Original Message----- > From: Chris Hostetter [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 13, 2006 9:13 AM > To: java-user@lucene.apache.org > Subject: Re: How can I tell Lucene to also use analyzer for > Keyword fields > > > : It seems anaylzers are never get called for UnTokenized > fields(Seems no luck > : either using PerFieldAnalyzer). > > The label "tokenized" is somewhat missleading .. it assumes > that your analyzer will do some tokenizing (which it doesn't > have to do in the case of the KeywordAnalyzer). The best > thing to do is equate "tokenize == analyzed" in your mind > when reading any of the Field methods/constants. > > Which makes this question kind of meaningless.. > > : 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. > > Index your fields as "TOKENIZED" but choise an analyzer that > doesn't do any tokenizing (something that uses the KeywordTokenizer) > > > > > -Hoss > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]