Return-Path: Delivered-To: apmail-lucene-solr-user-archive@minotaur.apache.org Received: (qmail 69541 invoked from network); 23 Mar 2010 18:11:31 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 23 Mar 2010 18:11:31 -0000 Received: (qmail 76261 invoked by uid 500); 23 Mar 2010 18:11:29 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 76233 invoked by uid 500); 23 Mar 2010 18:11:29 -0000 Mailing-List: contact solr-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-user@lucene.apache.org Delivered-To: mailing list solr-user@lucene.apache.org Received: (qmail 76225 invoked by uid 99); 23 Mar 2010 18:11:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Mar 2010 18:11:29 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [199.85.64.7] (HELO mlwlb.globeandmail.ca) (199.85.64.7) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Mar 2010 18:11:21 +0000 X-ASG-Debug-ID: 1269367860-19af001d0000-UCWVJZ X-Barracuda-URL: http://199.85.64.7:8000/cgi-bin/mark.cgi Received: from GMEXHUB1.globeandmail.net (unknown [10.100.43.209]) by mlwlb.globeandmail.ca (Spam & Virus Firewall) with ESMTP id 5EE9063C19F for ; Tue, 23 Mar 2010 14:11:00 -0400 (EDT) Received: from GMEXHUB1.globeandmail.net ([10.100.43.209]) by mlwlb.globeandmail.ca with ESMTP id Zmsj2ENT1aumFcUJ for ; Tue, 23 Mar 2010 14:11:00 -0400 (EDT) Received: from GMEXMBS2.globeandmail.net ([fe80::8c9:5dc:9486:5691]) by GMEXHUB1.globeandmail.net ([::1]) with mapi; Tue, 23 Mar 2010 14:10:59 -0400 From: "Nagelberg, Kallin" To: "'solr-user@lucene.apache.org'" Date: Tue, 23 Mar 2010 14:10:59 -0400 X-ASG-Orig-Subj: RE: lowercasing for sorting Subject: RE: lowercasing for sorting Thread-Topic: lowercasing for sorting Thread-Index: AcrKq0VMN2IYtt4VSta3OIgZFPPKUAAB7OjgAABDYpA= Message-ID: <13D828CF2C5A6D4597111B6E6571FD6308FC8393F6@GMEXMBS2.globeandmail.net> References: <13D828CF2C5A6D4597111B6E6571FD6308FC8393F5@GMEXMBS2.globeandmail.net> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Barracuda-Connect: UNKNOWN[10.100.43.209] X-Barracuda-Start-Time: 1269367860 X-Barracuda-Virus-Scanned: by Barracuda Spam & Virus Firewall at globeandmail.ca X-Barracuda-Spam-Score: -1002.00 X-Barracuda-Spam-Status: No, SCORE=-1002.00 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=1000.0 Thanks, and my cover is apparently blown :P We're looking at solr for a number of applications, from taking the load of= f the database, to user searching etc. I don't think I'll get fired for say= ing that :P Thanks, Kallin Nagelberg -----Original Message----- From: Binkley, Peter [mailto:Peter.Binkley@ualberta.ca]=20 Sent: Tuesday, March 23, 2010 2:09 PM To: solr-user@lucene.apache.org Subject: RE: lowercasing for sorting Solr makes this easy: =20 You can populate this field from another field using copyField, if you also need to be able to search or display the original values. Just out of curiosity, can you tell us anything about what the Globe and Mail is using Solr for? (assuming the question is work-related) Peter > -----Original Message----- > From: Nagelberg, Kallin [mailto:KNagelberg@globeandmail.com]=20 > Sent: Tuesday, March 23, 2010 11:07 AM > To: 'solr-user@lucene.apache.org' > Subject: lowercasing for sorting >=20 > I'm trying to perform a case-insensitive sort on a field in=20 > my index that contains values like >=20 > aaa > bbb > AA > BB >=20 > And I get them sorted like: >=20 > aaa > bbb > AA > BB >=20 > When I would like them: >=20 > aa > aaa > bb > bbb >=20 > To do this I'm trying to setup a fieldType who's sole purpose=20 > is to lowercase a value on query and index. I don't want to=20 > tokenize the value, just lowercase it. Any ideas? >=20 > Thanks, > Kallin Nagelberg >=20