Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 61124 invoked from network); 20 Jul 2007 09:05:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Jul 2007 09:05:13 -0000 Received: (qmail 36743 invoked by uid 500); 20 Jul 2007 09:04:33 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 36705 invoked by uid 500); 20 Jul 2007 09:04:33 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 36694 invoked by uid 99); 20 Jul 2007 09:04:33 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Jul 2007 02:04:33 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [80.67.64.10] (HELO smtp1.akamai.com) (80.67.64.10) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Jul 2007 02:04:30 -0700 Received: from smtp1.akamai.com (vwall.kendall.corp.akamai.com [172.17.4.35]) by smtp1.akamai.com (8.13.8/8.12.10) with ESMTP id l6K93DV7029096 for ; Fri, 20 Jul 2007 05:03:13 -0400 (EDT) Received: from USMA1EX-GATE1.kendall.corp.akamai.com (usma1ex-gate1.kendall.corp.akamai.com [172.17.0.215]) by smtp1.akamai.com (8.13.8/8.12.10) with ESMTP id l6K93Ca9029086 for ; Fri, 20 Jul 2007 05:03:12 -0400 (EDT) Received: from MAVS2.kendall.corp.akamai.com ([172.17.33.18]) by USMA1EX-GATE1.kendall.corp.akamai.com with Microsoft SMTPSVC(6.0.3790.1830); Fri, 20 Jul 2007 04:59:08 -0400 Received: from INVS1.bangalore.corp.akamai.com ([172.21.20.14]) by MAVS2.kendall.corp.akamai.com with Microsoft SMTPSVC(6.0.3790.1830); Fri, 20 Jul 2007 05:04:07 -0400 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Question regarding ignore case? X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Fri, 20 Jul 2007 14:34:04 +0530 Message-ID: <4FA8C6AEE609B644B38DE471A3657A62012FFCD5@INVS1.bangalore.corp.akamai.com> In-Reply-To: <8ce43bbd0707192352t43f91200s5f66975d89c2ebd9@mail.gmail.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Question regarding ignore case? Thread-Index: AcfKmpq+ErtSU1ADTde9ouVdghpxowAEb9zg References: <8ce43bbd0707192352t43f91200s5f66975d89c2ebd9@mail.gmail.com> From: "Chhabra, Kapil" To: X-OriginalArrivalTime: 20 Jul 2007 09:04:07.0465 (UTC) FILETIME=[EDB5D190:01C7CAAC] X-Virus-Checked: Checked by ClamAV on apache.org I don't think that there is any other way out apart from re-indexing in all-small or all-caps case(through an Analyzer or externally), and then searching in the same case as you used while indexing. Even if you find a way by which you can run case insensitive searches, I am sure it'll add to the complexity at the search time. QueryFilter is used to filter down the search results and I doubt if it'll solve your problem. Regards, kapilChhabra -----Original Message----- From: li hao cho [mailto:cholihao@gmail.com]=20 Sent: Friday, July 20, 2007 12:22 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