Return-Path: Delivered-To: apmail-db-derby-user-archive@www.apache.org Received: (qmail 65799 invoked from network); 2 Nov 2007 12:21:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Nov 2007 12:21:25 -0000 Received: (qmail 46370 invoked by uid 500); 2 Nov 2007 12:21:11 -0000 Delivered-To: apmail-db-derby-user-archive@db.apache.org Received: (qmail 46317 invoked by uid 500); 2 Nov 2007 12:21:11 -0000 Mailing-List: contact derby-user-help@db.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Reply-To: "Derby Discussion" Delivered-To: mailing list derby-user@db.apache.org Received: (qmail 46292 invoked by uid 99); 2 Nov 2007 12:21:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Nov 2007 05:21:11 -0700 X-ASF-Spam-Status: No, hits=-1.0 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [192.18.43.132] (HELO sca-es-mail-1.sun.com) (192.18.43.132) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Nov 2007 12:21:32 +0000 Received: from fe-sfbay-10.sun.com ([192.18.43.129]) by sca-es-mail-1.sun.com (8.13.7+Sun/8.12.9) with ESMTP id lA2CKpTF013805 for ; Fri, 2 Nov 2007 05:20:51 -0700 (PDT) Received: from conversion-daemon.fe-sfbay-10.sun.com by fe-sfbay-10.sun.com (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) id <0JQV00B01OWG0U00@fe-sfbay-10.sun.com> (original mail from Richard.Hillegas@Sun.COM) for derby-user@db.apache.org; Fri, 02 Nov 2007 05:20:51 -0700 (PDT) Received: from richard-hillegas-computer.local ([129.150.17.35]) by fe-sfbay-10.sun.com (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) with ESMTPSA id <0JQV00KAQOYRAX60@fe-sfbay-10.sun.com> for derby-user@db.apache.org; Fri, 02 Nov 2007 05:20:51 -0700 (PDT) Date: Fri, 02 Nov 2007 05:21:09 -0700 From: Rick Hillegas Subject: Re: Case insensitive indexed search possible? In-reply-to: <005c01c81cd9$eb611bf0$e3118780@skate> Sender: Richard.Hillegas@Sun.COM To: Derby Discussion Message-id: <472B1635.3000406@sun.com> MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=ISO-8859-1 Content-transfer-encoding: 7BIT References: <005c01c81cd9$eb611bf0$e3118780@skate> User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070728) X-Virus-Checked: Checked by ClamAV on apache.org Hi Jon, The situation with case-insensitive searching did not change in the latest 10.3 release and no one has volunteered to address this issue in the next feature release, 10.4. If you want to avoid the full table scan, you can store the text in two columns: mixed case in one column, and normalized to lowercase in the second column. Regards, -Rick Jon Miller wrote: > Hi all, > > Does anyone know if there is a way to do a case insensitive indexed > search? I know in the past this wasn't possible, but, I'm wondering if > this might not be fixed in the version that was recently released. > Note, I know you can do a LOWER() to do it. However, I don't want to > do that because I don't want it to do a table scan. Ideally, it would > be possible to make all text searches case insensitive with a single > setting. > > Jon >