Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 23501 invoked from network); 22 Aug 2005 15:09:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 22 Aug 2005 15:09:00 -0000 Received: (qmail 91791 invoked by uid 500); 22 Aug 2005 15:08:58 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 90955 invoked by uid 500); 22 Aug 2005 15:08:56 -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 90942 invoked by uid 99); 22 Aug 2005 15:08:55 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Aug 2005 08:08:55 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [66.93.150.34] (HELO mail.dessci.com) (66.93.150.34) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Aug 2005 08:09:13 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Case-sensitive search Date: Mon, 22 Aug 2005 08:10:55 -0700 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Case-sensitive search thread-index: AcWnKyE87YguZPrsSZqmkcF4UIJ1pQAAGl1w From: "Rajesh Munavalli" To: X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N You could also treat the case-sensitive and case-insensitive as Synonyms and index them at the same position. This would be helpful in phrase queries. Rajesh Munavalli=20 > -----Original Message----- > From: Erik Hatcher [mailto:erik@ehatchersolutions.com]=20 > Sent: Monday, August 22, 2005 10:04 AM > To: java-user@lucene.apache.org > Subject: Re: Case-sensitive search >=20 >=20 > On Aug 22, 2005, at 10:40 AM, tareque@controldocs.com wrote: > > Is there any way to index as case-sensitive and then, while=20 > searching,=20 > > making the search case-sensitive and case-insensitive using=20 > the same=20 > > index as needed? >=20 > Not really. Terms in the index are ordered=20 > lexicographically, including case. It certainly would be=20 > possible to write customized Query subclasses to do this sort=20 > of thing at the expense of performance. >=20 > The only techniques I'm aware of are to either build separate=20 > indexes or index the same information into separate fields of=20 > the same documents using different analyzers per field. >=20 > Erik >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org > For additional commands, e-mail: java-user-help@lucene.apache.org >=20 >=20 --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org