Hi, Another solution would be to define locale when creating SortField object, if using English locale the sorting should be case insensitive?
Best regards, Lisheng -----Original Message----- From: Senthil V S [mailto:[email protected]] Sent: Tuesday, October 11, 2011 12:34 PM To: [email protected] Subject: Re: Case insensitive sortable column Yeah.. Thanks.. That should work.. :) Senthil V S Y!: siliconsenthil2003,GTalk:vss123 <http://pleasantrian.blogspot.com/> On Wed, Oct 12, 2011 at 12:15 AM, Sendros, Jason < [email protected]> wrote: > If that's not an option, create another column with the same data > lowercased and search on the new column while displaying the original > column. > > Jason > > -----Original Message----- > From: Greg Bowyer [mailto:[email protected]] > Sent: Tuesday, October 11, 2011 10:43 PM > To: [email protected] > Subject: Re: Case insensitive sortable column > > I might be missing something here but cant you just lowercase during > indexing ? > > On 11/10/11 09:48, Senthil V S wrote: > > Hi, > > > > I'm new to Lucene. I have records and I wanna sort them by fields. > I've > > created indexes for those fields with 'not_analyzed'. > > The sort is case sensitive. In a sense, > > *A...* > > *X...* > > *b...* > > is the order, while what I would prefer is, > > *A...* > > *b...* > > *X...* > > * > > * > > I believe it's a trivial one to do but not sure how. Any idea? > > * > > * > > > > > > Senthil V S > > Y!: siliconsenthil2003,GTalk:vss123 > > <http://pleasantrian.blogspot.com/> > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
