Hi Sudhanya, What analyser are you using to parse the query and index the "name" field?
The StandardAnalyzer, SimpleAnalyzer and others will use the LowercaseTokenizer to automatically lower case your field/query terms. Hope that helps Vijay Santhanam B.Eng.(Soft.) Spectrum Wired - Software Engineer T: +61 2 4925 3266 F: +61 2 4925 3255 M: +61 407 525 087 W: www.spectrumwired.com Disclaimer: This email and any attached files are intended solely for the named addressee, are confidential and may contain legally privileged information. The copying or distribution of them or any information they contain, by anyone other than the addressee, is prohibited. If you have received this email in error, please let us know by telephone or return the email to the sender and destroy all copies. Thank you. -----Original Message----- From: Sudhanya Chatterjee [mailto:[EMAIL PROTECTED] Sent: Wednesday, 12 March 2008 3:30 PM To: [email protected] Subject: lucene.net query Hi, We are using Lucene.net for creating our search application. Query creation is done using QueryParser. Using this how to make the search case insensitive? For example - if the search term is "Sudhanya" I get results having "Sudhanya" and not "sudhanya". Requirement is to get both listed. Thanks, Sudhanya DISCLAIMER ========== This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails.
