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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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 [EMAIL PROTECTED] Department of Computer Science National Cheng Chi University, Taipei, Taiwan, R.O.C." --------------------------------------------------------------------- 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]