lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ramana Jelda" <ramana.je...@ciao-group.com>
Subject RE: How can I tell Lucene to also use analyzer for Keyword fields
Date Tue, 13 Jun 2006 12:24:06 GMT
Thanks for your  replies.


> -----Original Message-----
> From: Chris Hostetter [mailto:hossman_lucene@fucit.org] 
> 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: 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


Mime
View raw message