lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Liu_An...@emc.com
Subject RE: Question regarding ignore case?
Date Fri, 20 Jul 2007 07:28:53 GMT
When index, you can add LowerCaseFilter to your analyzer, or just use
some analyzer already done lowercase, such as
StandardAnalyzer,SimpleAnalyzer

Andy

-----Original Message-----
From: jeogoodjob@gmail.com [mailto:jeogoodjob@gmail.com] On Behalf Of li
hao cho
Sent: Friday, July 20, 2007 2:52 PM
To: java-user@lucene.apache.org
Subject: Question regarding ignore case?

Hi all, my lucene index is prepared for search, but I forgot to change
all the english word to lower case. When I search, I have to type the
same case as in lucene index. I found that QueryFilter may solve the
problem, but it seems that it's used for filter query, not the lucene
index. How do I ignore the case in lucene index?

--
Li-Hao Cho
cholihao@gmail.com
Department of Computer Science
National Cheng Chi University, Taipei, Taiwan, R.O.C."

---------------------------------------------------------------------
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