Thanks - wouldn't want to get you into trouble! It's handy when selling
the idea of using Solr in the Canadian academic world to be able to drop
names like the Globe and Mail, though. If I do I'll keep my source
confidential.

Peter 

> -----Original Message-----
> From: Nagelberg, Kallin [mailto:knagelb...@globeandmail.com] 
> Sent: Tuesday, March 23, 2010 12:11 PM
> To: 'solr-user@lucene.apache.org'
> Subject: RE: lowercasing for sorting
> 
> Thanks, and my cover is apparently blown :P
> 
> We're looking at solr for a number of applications, from 
> taking the load off the database, to user searching etc. I 
> don't think I'll get fired for saying that :P
> 
> Thanks,
> Kallin Nagelberg
> 
> -----Original Message-----
> From: Binkley, Peter [mailto:peter.bink...@ualberta.ca]
> Sent: Tuesday, March 23, 2010 2:09 PM
> To: solr-user@lucene.apache.org
> Subject: RE: lowercasing for sorting
> 
> Solr makes this easy:
> 
> <tokenizer class="solr.KeywordTokenizerFactory"/>
> <filter class="solr.LowerCaseFilterFactory"/> 
> 
> 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:knagelb...@globeandmail.com]
> > Sent: Tuesday, March 23, 2010 11:07 AM
> > To: 'solr-user@lucene.apache.org'
> > Subject: lowercasing for sorting
> > 
> > I'm trying to perform a case-insensitive sort on a field in 
> my index 
> > that contains values like
> > 
> > aaa
> > bbb
> > AA
> > BB
> > 
> > And I get them sorted like:
> > 
> > aaa
> > bbb
> > AA
> > BB
> > 
> > When I would like them:
> > 
> > aa
> > aaa
> > bb
> > bbb
> > 
> > To do this I'm trying to setup a fieldType who's sole purpose is to 
> > lowercase a value on query and index. I don't want to tokenize the 
> > value, just lowercase it. Any ideas?
> > 
> > Thanks,
> > Kallin Nagelberg
> > 
> 
> 

Reply via email to